AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
CreateAccountPoolRequest.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 CreateAccountPoolRequest() = 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 "CreateAccountPool"; }
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 CreateAccountPoolRequest& 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 CreateAccountPoolRequest& 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 CreateAccountPoolRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template<typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
83 template<typename NameT = Aws::String>
84 CreateAccountPoolRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
86
88
92 inline ResolutionStrategy GetResolutionStrategy() const { return m_resolutionStrategy; }
93 inline bool ResolutionStrategyHasBeenSet() const { return m_resolutionStrategyHasBeenSet; }
94 inline void SetResolutionStrategy(ResolutionStrategy value) { m_resolutionStrategyHasBeenSet = true; m_resolutionStrategy = value; }
97 private:
98
99 AccountSource m_accountSource;
100 bool m_accountSourceHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 Aws::String m_domainIdentifier;
106 bool m_domainIdentifierHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
112 bool m_resolutionStrategyHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace DataZone
117} // namespace Aws
CreateAccountPoolRequest & WithResolutionStrategy(ResolutionStrategy value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateAccountPoolRequest & WithAccountSource(AccountSourceT &&value)
CreateAccountPoolRequest & WithDescription(DescriptionT &&value)
CreateAccountPoolRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
CreateAccountPoolRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API CreateAccountPoolRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String