AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRepositoryAssociationResult.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 DescribeRepositoryAssociationResult();
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); }
64 inline DescribeRepositoryAssociationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
65 inline DescribeRepositoryAssociationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
66 inline DescribeRepositoryAssociationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
67 inline DescribeRepositoryAssociationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
68 inline DescribeRepositoryAssociationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
69 inline DescribeRepositoryAssociationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
70 inline DescribeRepositoryAssociationResult& 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 DescribeRepositoryAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DescribeRepositoryAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DescribeRepositoryAssociationResult& 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
DescribeRepositoryAssociationResult & AddTags(Aws::String &&key, const char *value)
DescribeRepositoryAssociationResult & WithRequestId(const char *value)
DescribeRepositoryAssociationResult & WithRequestId(const Aws::String &value)
DescribeRepositoryAssociationResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeRepositoryAssociationResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeRepositoryAssociationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeRepositoryAssociationResult & AddTags(const char *key, const char *value)
DescribeRepositoryAssociationResult & WithRequestId(Aws::String &&value)
AWS_CODEGURUREVIEWER_API DescribeRepositoryAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRepositoryAssociationResult & WithRepositoryAssociation(const RepositoryAssociation &value)
DescribeRepositoryAssociationResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeRepositoryAssociationResult & WithRepositoryAssociation(RepositoryAssociation &&value)
DescribeRepositoryAssociationResult & AddTags(Aws::String &&key, const Aws::String &value)
AWS_CODEGURUREVIEWER_API DescribeRepositoryAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRepositoryAssociationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeRepositoryAssociationResult & AddTags(const char *key, Aws::String &&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