AWS SDK for C++  1.9.156
AWS SDK for C++
CreateInstanceAccessControlAttributeConfigurationRequest.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 "CreateInstanceAccessControlAttributeConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
42 
46  inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
47 
51  inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
52 
56  inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
57 
61  inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
62 
66  inline CreateInstanceAccessControlAttributeConfigurationRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
67 
71  inline CreateInstanceAccessControlAttributeConfigurationRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
72 
76  inline CreateInstanceAccessControlAttributeConfigurationRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
77 
78 
88  inline const InstanceAccessControlAttributeConfiguration& GetInstanceAccessControlAttributeConfiguration() const{ return m_instanceAccessControlAttributeConfiguration; }
89 
99  inline bool InstanceAccessControlAttributeConfigurationHasBeenSet() const { return m_instanceAccessControlAttributeConfigurationHasBeenSet; }
100 
110  inline void SetInstanceAccessControlAttributeConfiguration(const InstanceAccessControlAttributeConfiguration& value) { m_instanceAccessControlAttributeConfigurationHasBeenSet = true; m_instanceAccessControlAttributeConfiguration = value; }
111 
121  inline void SetInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration&& value) { m_instanceAccessControlAttributeConfigurationHasBeenSet = true; m_instanceAccessControlAttributeConfiguration = std::move(value); }
122 
133 
143  inline CreateInstanceAccessControlAttributeConfigurationRequest& WithInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration&& value) { SetInstanceAccessControlAttributeConfiguration(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_instanceArn;
148  bool m_instanceArnHasBeenSet;
149 
150  InstanceAccessControlAttributeConfiguration m_instanceAccessControlAttributeConfiguration;
151  bool m_instanceAccessControlAttributeConfigurationHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace SSOAdmin
156 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:41
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::SetInstanceAccessControlAttributeConfiguration
void SetInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration &&value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:121
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration
Definition: InstanceAccessControlAttributeConfiguration.h:34
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::WithInstanceArn
CreateInstanceAccessControlAttributeConfigurationRequest & WithInstanceArn(const Aws::String &value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:66
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:51
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::InstanceAccessControlAttributeConfigurationHasBeenSet
bool InstanceAccessControlAttributeConfigurationHasBeenSet() const
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:99
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::WithInstanceArn
CreateInstanceAccessControlAttributeConfigurationRequest & WithInstanceArn(const char *value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:76
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::CreateInstanceAccessControlAttributeConfigurationRequest
CreateInstanceAccessControlAttributeConfigurationRequest()
AWSString.h
SSOAdminRequest.h
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:23
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:61
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::WithInstanceArn
CreateInstanceAccessControlAttributeConfigurationRequest & WithInstanceArn(Aws::String &&value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:71
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::SetInstanceAccessControlAttributeConfiguration
void SetInstanceAccessControlAttributeConfiguration(const InstanceAccessControlAttributeConfiguration &value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:110
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::WithInstanceAccessControlAttributeConfiguration
CreateInstanceAccessControlAttributeConfigurationRequest & WithInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration &&value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
InstanceAccessControlAttributeConfiguration.h
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::GetInstanceAccessControlAttributeConfiguration
const InstanceAccessControlAttributeConfiguration & GetInstanceAccessControlAttributeConfiguration() const
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:88
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::WithInstanceAccessControlAttributeConfiguration
CreateInstanceAccessControlAttributeConfigurationRequest & WithInstanceAccessControlAttributeConfiguration(const InstanceAccessControlAttributeConfiguration &value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:132
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:56
Aws::SSOAdmin::Model::CreateInstanceAccessControlAttributeConfigurationRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: CreateInstanceAccessControlAttributeConfigurationRequest.h:46