7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/Actor.h>
10#include <aws/securityagent/model/ClientCertificate.h>
11#include <aws/securityagent/model/DocumentInfo.h>
12#include <aws/securityagent/model/Endpoint.h>
13#include <aws/securityagent/model/IntegratedRepository.h>
14#include <aws/securityagent/model/SourceCodeRepository.h>
15#include <aws/securityagent/model/TrustedCaCertificate.h>
26namespace SecurityAgent {
38 AWS_SECURITYAGENT_API
Assets() =
default;
49 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
51 m_endpointsHasBeenSet =
true;
52 m_endpoints = std::forward<EndpointsT>(value);
54 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
59 template <
typename Endpo
intsT = Endpo
int>
61 m_endpointsHasBeenSet =
true;
62 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
73 template <
typename ActorsT = Aws::Vector<Actor>>
75 m_actorsHasBeenSet =
true;
76 m_actors = std::forward<ActorsT>(value);
78 template <
typename ActorsT = Aws::Vector<Actor>>
83 template <
typename ActorsT = Actor>
85 m_actorsHasBeenSet =
true;
86 m_actors.emplace_back(std::forward<ActorsT>(value));
97 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
99 m_documentsHasBeenSet =
true;
100 m_documents = std::forward<DocumentsT>(value);
102 template <
typename DocumentsT = Aws::Vector<DocumentInfo>>
107 template <
typename DocumentsT = DocumentInfo>
109 m_documentsHasBeenSet =
true;
110 m_documents.emplace_back(std::forward<DocumentsT>(value));
121 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
123 m_sourceCodeHasBeenSet =
true;
124 m_sourceCode = std::forward<SourceCodeT>(value);
126 template <
typename SourceCodeT = Aws::Vector<SourceCodeRepository>>
131 template <
typename SourceCodeT = SourceCodeRepository>
133 m_sourceCodeHasBeenSet =
true;
134 m_sourceCode.emplace_back(std::forward<SourceCodeT>(value));
145 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
147 m_integratedRepositoriesHasBeenSet =
true;
148 m_integratedRepositories = std::forward<IntegratedRepositoriesT>(value);
150 template <
typename IntegratedRepositoriesT = Aws::Vector<IntegratedRepository>>
155 template <
typename IntegratedRepositoriesT = IntegratedRepository>
157 m_integratedRepositoriesHasBeenSet =
true;
158 m_integratedRepositories.emplace_back(std::forward<IntegratedRepositoriesT>(value));
171 template <
typename TrustedCaCertificatesT = Aws::Vector<TrustedCaCertificate>>
173 m_trustedCaCertificatesHasBeenSet =
true;
174 m_trustedCaCertificates = std::forward<TrustedCaCertificatesT>(value);
176 template <
typename TrustedCaCertificatesT = Aws::Vector<TrustedCaCertificate>>
181 template <
typename TrustedCaCertificatesT = TrustedCaCertificate>
183 m_trustedCaCertificatesHasBeenSet =
true;
184 m_trustedCaCertificates.emplace_back(std::forward<TrustedCaCertificatesT>(value));
197 template <
typename ClientCertificatesT = Aws::Vector<ClientCertificate>>
199 m_clientCertificatesHasBeenSet =
true;
200 m_clientCertificates = std::forward<ClientCertificatesT>(value);
202 template <
typename ClientCertificatesT = Aws::Vector<ClientCertificate>>
207 template <
typename ClientCertificatesT = ClientCertificate>
209 m_clientCertificatesHasBeenSet =
true;
210 m_clientCertificates.emplace_back(std::forward<ClientCertificatesT>(value));
228 bool m_endpointsHasBeenSet =
false;
229 bool m_actorsHasBeenSet =
false;
230 bool m_documentsHasBeenSet =
false;
231 bool m_sourceCodeHasBeenSet =
false;
232 bool m_integratedRepositoriesHasBeenSet =
false;
233 bool m_trustedCaCertificatesHasBeenSet =
false;
234 bool m_clientCertificatesHasBeenSet =
false;
Assets & WithEndpoints(EndpointsT &&value)
void SetActors(ActorsT &&value)
bool SourceCodeHasBeenSet() const
AWS_SECURITYAGENT_API Assets & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Assets & WithTrustedCaCertificates(TrustedCaCertificatesT &&value)
Assets & AddClientCertificates(ClientCertificatesT &&value)
bool TrustedCaCertificatesHasBeenSet() const
const Aws::Vector< Endpoint > & GetEndpoints() const
void SetClientCertificates(ClientCertificatesT &&value)
Assets & AddSourceCode(SourceCodeT &&value)
bool EndpointsHasBeenSet() const
const Aws::Vector< Actor > & GetActors() const
Assets & WithClientCertificates(ClientCertificatesT &&value)
const Aws::Vector< DocumentInfo > & GetDocuments() const
Assets & WithSourceCode(SourceCodeT &&value)
AWS_SECURITYAGENT_API Assets(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ClientCertificate > & GetClientCertificates() const
Assets & WithActors(ActorsT &&value)
bool ActorsHasBeenSet() const
bool ClientCertificatesHasBeenSet() const
AWS_SECURITYAGENT_API Assets()=default
void SetIntegratedRepositories(IntegratedRepositoriesT &&value)
Assets & AddIntegratedRepositories(IntegratedRepositoriesT &&value)
Assets & WithDocuments(DocumentsT &&value)
Assets & AddDocuments(DocumentsT &&value)
bool IntegratedRepositoriesHasBeenSet() const
const Aws::Vector< SourceCodeRepository > & GetSourceCode() const
const Aws::Vector< TrustedCaCertificate > & GetTrustedCaCertificates() const
Assets & WithIntegratedRepositories(IntegratedRepositoriesT &&value)
bool DocumentsHasBeenSet() const
const Aws::Vector< IntegratedRepository > & GetIntegratedRepositories() const
Assets & AddActors(ActorsT &&value)
Assets & AddEndpoints(EndpointsT &&value)
void SetDocuments(DocumentsT &&value)
Assets & AddTrustedCaCertificates(TrustedCaCertificatesT &&value)
void SetEndpoints(EndpointsT &&value)
void SetSourceCode(SourceCodeT &&value)
void SetTrustedCaCertificates(TrustedCaCertificatesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue