7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
54 template<
typename RepositoryNameT = Aws::String>
55 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
56 template<
typename RepositoryNameT = Aws::String>
71 template<
typename RepositoryDescriptionT = Aws::String>
72 void SetRepositoryDescription(RepositoryDescriptionT&& value) { m_repositoryDescriptionHasBeenSet =
true; m_repositoryDescription = std::forward<RepositoryDescriptionT>(value); }
73 template<
typename RepositoryDescriptionT = Aws::String>
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
85 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
105 template<
typename KmsKeyIdT = Aws::String>
106 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
107 template<
typename KmsKeyIdT = Aws::String>
113 bool m_repositoryNameHasBeenSet =
false;
116 bool m_repositoryDescriptionHasBeenSet =
false;
119 bool m_tagsHasBeenSet =
false;
122 bool m_kmsKeyIdHasBeenSet =
false;
const Aws::String & GetKmsKeyId() const
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
const Aws::String & GetRepositoryName() const
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRepositoryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool KmsKeyIdHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
CreateRepositoryRequest & WithKmsKeyId(KmsKeyIdT &&value)
AWS_CODECOMMIT_API CreateRepositoryRequest()=default
const Aws::String & GetRepositoryDescription() const
void SetRepositoryName(RepositoryNameT &&value)
CreateRepositoryRequest & WithTags(TagsT &&value)
void SetRepositoryDescription(RepositoryDescriptionT &&value)
CreateRepositoryRequest & WithRepositoryName(RepositoryNameT &&value)
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
CreateRepositoryRequest & WithRepositoryDescription(RepositoryDescriptionT &&value)
bool RepositoryNameHasBeenSet() const
bool RepositoryDescriptionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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