AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateRepositoryResult.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/RepositoryAssociation.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
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:
32 AWS_CODEGURUREVIEWER_API AssociateRepositoryResult();
35
36
38
41 inline const RepositoryAssociation& GetRepositoryAssociation() const{ return m_repositoryAssociation; }
42 inline void SetRepositoryAssociation(const RepositoryAssociation& value) { m_repositoryAssociation = value; }
43 inline void SetRepositoryAssociation(RepositoryAssociation&& value) { m_repositoryAssociation = std::move(value); }
47
49
59 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
60 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
61 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
63 inline AssociateRepositoryResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
64 inline AssociateRepositoryResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
65 inline AssociateRepositoryResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
66 inline AssociateRepositoryResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
67 inline AssociateRepositoryResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
68 inline AssociateRepositoryResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
69 inline AssociateRepositoryResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
70 inline AssociateRepositoryResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline AssociateRepositoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline AssociateRepositoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline AssociateRepositoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 RepositoryAssociation m_repositoryAssociation;
86
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace CodeGuruReviewer
94} // namespace Aws
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)
AssociateRepositoryResult & WithRequestId(const char *value)
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 & WithRequestId(const 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)
AssociateRepositoryResult & WithRequestId(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
Aws::Utils::Json::JsonValue JsonValue