AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
GetConnectionPreferencesResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/AccessType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace PartnerCentralAccount {
25namespace Model {
27 public:
28 AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult() = default;
30 AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult& operator=(
32
34
37 inline const Aws::String& GetCatalog() const { return m_catalog; }
38 template <typename CatalogT = Aws::String>
39 void SetCatalog(CatalogT&& value) {
40 m_catalogHasBeenSet = true;
41 m_catalog = std::forward<CatalogT>(value);
42 }
43 template <typename CatalogT = Aws::String>
45 SetCatalog(std::forward<CatalogT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
72 inline AccessType GetAccessType() const { return m_accessType; }
73 inline void SetAccessType(AccessType value) {
74 m_accessTypeHasBeenSet = true;
75 m_accessType = value;
76 }
78 SetAccessType(value);
79 return *this;
80 }
82
84
88 inline const Aws::Vector<Aws::String>& GetExcludedParticipantIds() const { return m_excludedParticipantIds; }
89 template <typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
90 void SetExcludedParticipantIds(ExcludedParticipantIdsT&& value) {
91 m_excludedParticipantIdsHasBeenSet = true;
92 m_excludedParticipantIds = std::forward<ExcludedParticipantIdsT>(value);
93 }
94 template <typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
96 SetExcludedParticipantIds(std::forward<ExcludedParticipantIdsT>(value));
97 return *this;
98 }
99 template <typename ExcludedParticipantIdsT = Aws::String>
101 m_excludedParticipantIdsHasBeenSet = true;
102 m_excludedParticipantIds.emplace_back(std::forward<ExcludedParticipantIdsT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
112 template <typename UpdatedAtT = Aws::Utils::DateTime>
113 void SetUpdatedAt(UpdatedAtT&& value) {
114 m_updatedAtHasBeenSet = true;
115 m_updatedAt = std::forward<UpdatedAtT>(value);
116 }
117 template <typename UpdatedAtT = Aws::Utils::DateTime>
119 SetUpdatedAt(std::forward<UpdatedAtT>(value));
120 return *this;
121 }
123
125
128 inline long long GetRevision() const { return m_revision; }
129 inline void SetRevision(long long value) {
130 m_revisionHasBeenSet = true;
131 m_revision = value;
132 }
134 SetRevision(value);
135 return *this;
136 }
138
140
141 inline const Aws::String& GetRequestId() const { return m_requestId; }
142 template <typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) {
144 m_requestIdHasBeenSet = true;
145 m_requestId = std::forward<RequestIdT>(value);
146 }
147 template <typename RequestIdT = Aws::String>
149 SetRequestId(std::forward<RequestIdT>(value));
150 return *this;
151 }
153 private:
154 Aws::String m_catalog;
155
156 Aws::String m_arn;
157
158 AccessType m_accessType{AccessType::NOT_SET};
159
160 Aws::Vector<Aws::String> m_excludedParticipantIds;
161
162 Aws::Utils::DateTime m_updatedAt{};
163
164 long long m_revision{0};
165
166 Aws::String m_requestId;
167 bool m_catalogHasBeenSet = false;
168 bool m_arnHasBeenSet = false;
169 bool m_accessTypeHasBeenSet = false;
170 bool m_excludedParticipantIdsHasBeenSet = false;
171 bool m_updatedAtHasBeenSet = false;
172 bool m_revisionHasBeenSet = false;
173 bool m_requestIdHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace PartnerCentralAccount
178} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult()=default
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionPreferencesResult & AddExcludedParticipantIds(ExcludedParticipantIdsT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionPreferencesResult & WithExcludedParticipantIds(ExcludedParticipantIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue