AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateAccountPoolRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AccountSource.h>
11#include <aws/datazone/model/ResolutionStrategy.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateAccountPoolRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountPool"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
45 UpdateAccountPoolRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIdentifier() const { return m_identifier; }
56 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
57 template <typename IdentifierT = Aws::String>
58 void SetIdentifier(IdentifierT&& value) {
59 m_identifierHasBeenSet = true;
60 m_identifier = std::forward<IdentifierT>(value);
61 }
62 template <typename IdentifierT = Aws::String>
64 SetIdentifier(std::forward<IdentifierT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template <typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) {
95 m_descriptionHasBeenSet = true;
96 m_description = std::forward<DescriptionT>(value);
97 }
98 template <typename DescriptionT = Aws::String>
100 SetDescription(std::forward<DescriptionT>(value));
101 return *this;
102 }
104
106
110 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
111 inline bool ResolutionStrategyHasBeenSet() const { return m_resolutionStrategyHasBeenSet; }
113 m_resolutionStrategyHasBeenSet = true;
114 m_resolutionStrategy = value;
115 }
118 return *this;
119 }
121
123
128 inline const AccountSource& GetAccountSource() const { return m_accountSource; }
129 inline bool AccountSourceHasBeenSet() const { return m_accountSourceHasBeenSet; }
130 template <typename AccountSourceT = AccountSource>
131 void SetAccountSource(AccountSourceT&& value) {
132 m_accountSourceHasBeenSet = true;
133 m_accountSource = std::forward<AccountSourceT>(value);
134 }
135 template <typename AccountSourceT = AccountSource>
137 SetAccountSource(std::forward<AccountSourceT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_domainIdentifier;
143
144 Aws::String m_identifier;
145
146 Aws::String m_name;
147
148 Aws::String m_description;
149
151
152 AccountSource m_accountSource;
153 bool m_domainIdentifierHasBeenSet = false;
154 bool m_identifierHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_descriptionHasBeenSet = false;
157 bool m_resolutionStrategyHasBeenSet = false;
158 bool m_accountSourceHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace DataZone
163} // namespace Aws
AWS_DATAZONE_API UpdateAccountPoolRequest()=default
UpdateAccountPoolRequest & WithDescription(DescriptionT &&value)
UpdateAccountPoolRequest & WithAccountSource(AccountSourceT &&value)
UpdateAccountPoolRequest & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateAccountPoolRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateAccountPoolRequest & WithName(NameT &&value)
UpdateAccountPoolRequest & WithResolutionStrategy(ResolutionStrategy value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String