AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AssociateRepositoryResult.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeGuruReviewer
26{
27namespace Model
28{
30 {
31 public:
35
36
40 inline const RepositoryAssociation& GetRepositoryAssociation() const{ return m_repositoryAssociation; }
41
45 inline void SetRepositoryAssociation(const RepositoryAssociation& value) { m_repositoryAssociation = value; }
46
50 inline void SetRepositoryAssociation(RepositoryAssociation&& value) { m_repositoryAssociation = std::move(value); }
51
56
61
62
73 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
74
85 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
86
97 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
98
110
121 inline AssociateRepositoryResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122
133 inline AssociateRepositoryResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
134
145 inline AssociateRepositoryResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
146
157 inline AssociateRepositoryResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
158
169 inline AssociateRepositoryResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
170
181 inline AssociateRepositoryResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
182
193 inline AssociateRepositoryResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
194
205 inline AssociateRepositoryResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
206
207 private:
208
209 RepositoryAssociation m_repositoryAssociation;
210
212 };
213
214} // namespace Model
215} // namespace CodeGuruReviewer
216} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
AssociateRepositoryResult & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AssociateRepositoryResult & AddTags(Aws::String &&key, const Aws::String &value)
AWS_CODEGURUREVIEWER_API AssociateRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const RepositoryAssociation & GetRepositoryAssociation() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AssociateRepositoryResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetRepositoryAssociation(const RepositoryAssociation &value)
AssociateRepositoryResult & AddTags(Aws::String &&key, Aws::String &&value)
AssociateRepositoryResult & WithRepositoryAssociation(const RepositoryAssociation &value)
AssociateRepositoryResult & AddTags(const Aws::String &key, const Aws::String &value)
AssociateRepositoryResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CODEGURUREVIEWER_API AssociateRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateRepositoryResult & WithRepositoryAssociation(RepositoryAssociation &&value)
AssociateRepositoryResult & AddTags(Aws::String &&key, const char *value)
AssociateRepositoryResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AssociateRepositoryResult & AddTags(const char *key, const char *value)
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