/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Greengrass { namespace Model { class ListGroupCertificateAuthoritiesResult { public: AWS_GREENGRASS_API ListGroupCertificateAuthoritiesResult(); AWS_GREENGRASS_API ListGroupCertificateAuthoritiesResult(const Aws::AmazonWebServiceResult& result); AWS_GREENGRASS_API ListGroupCertificateAuthoritiesResult& operator=(const Aws::AmazonWebServiceResult& result); /** * A list of certificate authorities associated with the group. */ inline const Aws::Vector& GetGroupCertificateAuthorities() const{ return m_groupCertificateAuthorities; } /** * A list of certificate authorities associated with the group. */ inline void SetGroupCertificateAuthorities(const Aws::Vector& value) { m_groupCertificateAuthorities = value; } /** * A list of certificate authorities associated with the group. */ inline void SetGroupCertificateAuthorities(Aws::Vector&& value) { m_groupCertificateAuthorities = std::move(value); } /** * A list of certificate authorities associated with the group. */ inline ListGroupCertificateAuthoritiesResult& WithGroupCertificateAuthorities(const Aws::Vector& value) { SetGroupCertificateAuthorities(value); return *this;} /** * A list of certificate authorities associated with the group. */ inline ListGroupCertificateAuthoritiesResult& WithGroupCertificateAuthorities(Aws::Vector&& value) { SetGroupCertificateAuthorities(std::move(value)); return *this;} /** * A list of certificate authorities associated with the group. */ inline ListGroupCertificateAuthoritiesResult& AddGroupCertificateAuthorities(const GroupCertificateAuthorityProperties& value) { m_groupCertificateAuthorities.push_back(value); return *this; } /** * A list of certificate authorities associated with the group. */ inline ListGroupCertificateAuthoritiesResult& AddGroupCertificateAuthorities(GroupCertificateAuthorityProperties&& value) { m_groupCertificateAuthorities.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListGroupCertificateAuthoritiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListGroupCertificateAuthoritiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListGroupCertificateAuthoritiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_groupCertificateAuthorities; Aws::String m_requestId; }; } // namespace Model } // namespace Greengrass } // namespace Aws