AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
UpdateAccountPoolRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/model/AccountSource.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/ResolutionStrategy.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateAccountPoolRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountPool"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
43 inline const AccountSource& GetAccountSource() const { return m_accountSource; }
44 inline bool AccountSourceHasBeenSet() const { return m_accountSourceHasBeenSet; }
45 template<typename AccountSourceT = AccountSource>
46 void SetAccountSource(AccountSourceT&& value) { m_accountSourceHasBeenSet = true; m_accountSource = std::forward<AccountSourceT>(value); }
47 template<typename AccountSourceT = AccountSource>
48 UpdateAccountPoolRequest& WithAccountSource(AccountSourceT&& value) { SetAccountSource(std::forward<AccountSourceT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 UpdateAccountPoolRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
68 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
69 template<typename DomainIdentifierT = Aws::String>
70 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
71 template<typename DomainIdentifierT = Aws::String>
72 UpdateAccountPoolRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
74
76
79 inline const Aws::String& GetIdentifier() const { return m_identifier; }
80 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
81 template<typename IdentifierT = Aws::String>
82 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
83 template<typename IdentifierT = Aws::String>
84 UpdateAccountPoolRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
86
88
91 inline const Aws::String& GetName() const { return m_name; }
92 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 template<typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
95 template<typename NameT = Aws::String>
96 UpdateAccountPoolRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
98
100
104 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
105 inline bool ResolutionStrategyHasBeenSet() const { return m_resolutionStrategyHasBeenSet; }
106 inline void SetResolutionStrategy(ResolutionStrategy value) { m_resolutionStrategyHasBeenSet = true; m_resolutionStrategy = value; }
109 private:
110
111 AccountSource m_accountSource;
112 bool m_accountSourceHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_domainIdentifier;
118 bool m_domainIdentifierHasBeenSet = false;
119
120 Aws::String m_identifier;
121 bool m_identifierHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
127 bool m_resolutionStrategyHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace DataZone
132} // 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