7#include <aws/codeguru-reviewer/CodeGuruReviewerRequest.h>
8#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
9#include <aws/codeguru-reviewer/model/KMSKeyDetails.h>
10#include <aws/codeguru-reviewer/model/Repository.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace CodeGuruReviewer {
41 template <
typename RepositoryT = Repository>
43 m_repositoryHasBeenSet =
true;
44 m_repository = std::forward<RepositoryT>(value);
46 template <
typename RepositoryT = Repository>
60 template <
typename ClientRequestTokenT = Aws::String>
62 m_clientRequestTokenHasBeenSet =
true;
63 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
65 template <
typename ClientRequestTokenT = Aws::String>
85 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 m_tagsHasBeenSet =
true;
88 m_tags = std::forward<TagsT>(value);
90 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 SetTags(std::forward<TagsT>(value));
95 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
97 m_tagsHasBeenSet =
true;
98 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
114 template <
typename KMSKeyDetailsT = KMSKeyDetails>
116 m_kMSKeyDetailsHasBeenSet =
true;
117 m_kMSKeyDetails = std::forward<KMSKeyDetailsT>(value);
119 template <
typename KMSKeyDetailsT = KMSKeyDetails>
132 KMSKeyDetails m_kMSKeyDetails;
133 bool m_repositoryHasBeenSet =
false;
134 bool m_clientRequestTokenHasBeenSet =
true;
135 bool m_tagsHasBeenSet =
false;
136 bool m_kMSKeyDetailsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetClientRequestToken() const
void SetRepository(RepositoryT &&value)
AssociateRepositoryRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
void SetClientRequestToken(ClientRequestTokenT &&value)
void SetKMSKeyDetails(KMSKeyDetailsT &&value)
AssociateRepositoryRequest & WithTags(TagsT &&value)
AWS_CODEGURUREVIEWER_API AssociateRepositoryRequest()=default
bool KMSKeyDetailsHasBeenSet() const
bool RepositoryHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
AssociateRepositoryRequest & WithKMSKeyDetails(KMSKeyDetailsT &&value)
AssociateRepositoryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
const KMSKeyDetails & GetKMSKeyDetails() const
const Repository & GetRepository() const
AssociateRepositoryRequest & WithRepository(RepositoryT &&value)
bool TagsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String