AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
CreateGroupProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API CreateGroupProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateGroupProfile"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
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 CreateGroupProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetGroupIdentifier() const { return m_groupIdentifier; }
56 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
57 template <typename GroupIdentifierT = Aws::String>
58 void SetGroupIdentifier(GroupIdentifierT&& value) {
59 m_groupIdentifierHasBeenSet = true;
60 m_groupIdentifier = std::forward<GroupIdentifierT>(value);
61 }
62 template <typename GroupIdentifierT = Aws::String>
64 SetGroupIdentifier(std::forward<GroupIdentifierT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::String& GetRolePrincipalArn() const { return m_rolePrincipalArn; }
76 inline bool RolePrincipalArnHasBeenSet() const { return m_rolePrincipalArnHasBeenSet; }
77 template <typename RolePrincipalArnT = Aws::String>
78 void SetRolePrincipalArn(RolePrincipalArnT&& value) {
79 m_rolePrincipalArnHasBeenSet = true;
80 m_rolePrincipalArn = std::forward<RolePrincipalArnT>(value);
81 }
82 template <typename RolePrincipalArnT = Aws::String>
83 CreateGroupProfileRequest& WithRolePrincipalArn(RolePrincipalArnT&& value) {
84 SetRolePrincipalArn(std::forward<RolePrincipalArnT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetClientToken() const { return m_clientToken; }
95 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 template <typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) {
98 m_clientTokenHasBeenSet = true;
99 m_clientToken = std::forward<ClientTokenT>(value);
100 }
101 template <typename ClientTokenT = Aws::String>
103 SetClientToken(std::forward<ClientTokenT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_domainIdentifier;
109
110 Aws::String m_groupIdentifier;
111
112 Aws::String m_rolePrincipalArn;
113
115 bool m_domainIdentifierHasBeenSet = false;
116 bool m_groupIdentifierHasBeenSet = false;
117 bool m_rolePrincipalArnHasBeenSet = false;
118 bool m_clientTokenHasBeenSet = true;
119};
120
121} // namespace Model
122} // namespace DataZone
123} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API CreateGroupProfileRequest()=default
CreateGroupProfileRequest & WithGroupIdentifier(GroupIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateGroupProfileRequest & WithClientToken(ClientTokenT &&value)
CreateGroupProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
CreateGroupProfileRequest & WithRolePrincipalArn(RolePrincipalArnT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String