AWS SDK for C++  1.9.108
AWS SDK for C++
ProvisionPermissionSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SSOAdmin
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ProvisionPermissionSet"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
45  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
46 
54  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
55 
63  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
64 
72  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
73 
81  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
82 
90  inline ProvisionPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
91 
99  inline ProvisionPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
100 
108  inline ProvisionPermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
109 
110 
114  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
115 
119  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
120 
124  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
125 
129  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
130 
134  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
135 
139  inline ProvisionPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
140 
144  inline ProvisionPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
145 
149  inline ProvisionPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
150 
151 
156  inline const Aws::String& GetTargetId() const{ return m_targetId; }
157 
162  inline bool TargetIdHasBeenSet() const { return m_targetIdHasBeenSet; }
163 
168  inline void SetTargetId(const Aws::String& value) { m_targetIdHasBeenSet = true; m_targetId = value; }
169 
174  inline void SetTargetId(Aws::String&& value) { m_targetIdHasBeenSet = true; m_targetId = std::move(value); }
175 
180  inline void SetTargetId(const char* value) { m_targetIdHasBeenSet = true; m_targetId.assign(value); }
181 
186  inline ProvisionPermissionSetRequest& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
187 
192  inline ProvisionPermissionSetRequest& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
193 
198  inline ProvisionPermissionSetRequest& WithTargetId(const char* value) { SetTargetId(value); return *this;}
199 
200 
204  inline const ProvisionTargetType& GetTargetType() const{ return m_targetType; }
205 
209  inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
210 
214  inline void SetTargetType(const ProvisionTargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
215 
219  inline void SetTargetType(ProvisionTargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
220 
224  inline ProvisionPermissionSetRequest& WithTargetType(const ProvisionTargetType& value) { SetTargetType(value); return *this;}
225 
229  inline ProvisionPermissionSetRequest& WithTargetType(ProvisionTargetType&& value) { SetTargetType(std::move(value)); return *this;}
230 
231  private:
232 
233  Aws::String m_instanceArn;
234  bool m_instanceArnHasBeenSet;
235 
236  Aws::String m_permissionSetArn;
237  bool m_permissionSetArnHasBeenSet;
238 
239  Aws::String m_targetId;
240  bool m_targetIdHasBeenSet;
241 
242  ProvisionTargetType m_targetType;
243  bool m_targetTypeHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace SSOAdmin
248 } // namespace Aws
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetTargetType
void SetTargetType(ProvisionTargetType &&value)
Definition: ProvisionPermissionSetRequest.h:219
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ProvisionPermissionSetRequest.h:31
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: ProvisionPermissionSetRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::TargetTypeHasBeenSet
bool TargetTypeHasBeenSet() const
Definition: ProvisionPermissionSetRequest.h:209
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::GetTargetId
const Aws::String & GetTargetId() const
Definition: ProvisionPermissionSetRequest.h:156
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: ProvisionPermissionSetRequest.h:54
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithTargetId
ProvisionPermissionSetRequest & WithTargetId(const char *value)
Definition: ProvisionPermissionSetRequest.h:198
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: ProvisionPermissionSetRequest.h:114
Aws::SSOAdmin::Model::ProvisionTargetType
ProvisionTargetType
Definition: ProvisionTargetType.h:17
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::GetTargetType
const ProvisionTargetType & GetTargetType() const
Definition: ProvisionPermissionSetRequest.h:204
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithTargetType
ProvisionPermissionSetRequest & WithTargetType(const ProvisionTargetType &value)
Definition: ProvisionPermissionSetRequest.h:224
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithPermissionSetArn
ProvisionPermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
Definition: ProvisionPermissionSetRequest.h:144
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::TargetIdHasBeenSet
bool TargetIdHasBeenSet() const
Definition: ProvisionPermissionSetRequest.h:162
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: ProvisionPermissionSetRequest.h:63
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: ProvisionPermissionSetRequest.h:124
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
AWSString.h
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: ProvisionPermissionSetRequest.h:134
SSOAdminRequest.h
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetTargetId
void SetTargetId(const Aws::String &value)
Definition: ProvisionPermissionSetRequest.h:168
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithPermissionSetArn
ProvisionPermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
Definition: ProvisionPermissionSetRequest.h:139
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: ProvisionPermissionSetRequest.h:72
ProvisionTargetType.h
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithPermissionSetArn
ProvisionPermissionSetRequest & WithPermissionSetArn(const char *value)
Definition: ProvisionPermissionSetRequest.h:149
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetTargetId
void SetTargetId(Aws::String &&value)
Definition: ProvisionPermissionSetRequest.h:174
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: ProvisionPermissionSetRequest.h:129
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithTargetId
ProvisionPermissionSetRequest & WithTargetId(const Aws::String &value)
Definition: ProvisionPermissionSetRequest.h:186
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetTargetType
void SetTargetType(const ProvisionTargetType &value)
Definition: ProvisionPermissionSetRequest.h:214
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithTargetType
ProvisionPermissionSetRequest & WithTargetType(ProvisionTargetType &&value)
Definition: ProvisionPermissionSetRequest.h:229
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: ProvisionPermissionSetRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithInstanceArn
ProvisionPermissionSetRequest & WithInstanceArn(const Aws::String &value)
Definition: ProvisionPermissionSetRequest.h:90
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithTargetId
ProvisionPermissionSetRequest & WithTargetId(Aws::String &&value)
Definition: ProvisionPermissionSetRequest.h:192
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: ProvisionPermissionSetRequest.h:81
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest
Definition: ProvisionPermissionSetRequest.h:23
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithInstanceArn
ProvisionPermissionSetRequest & WithInstanceArn(const char *value)
Definition: ProvisionPermissionSetRequest.h:108
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::SetTargetId
void SetTargetId(const char *value)
Definition: ProvisionPermissionSetRequest.h:180
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::ProvisionPermissionSetRequest
ProvisionPermissionSetRequest()
Aws::SSOAdmin::Model::ProvisionPermissionSetRequest::WithInstanceArn
ProvisionPermissionSetRequest & WithInstanceArn(Aws::String &&value)
Definition: ProvisionPermissionSetRequest.h:99