AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateInstanceAccessControlAttributeConfigurationRequest.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 "UpdateInstanceAccessControlAttributeConfiguration"; }
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 UpdateInstanceAccessControlAttributeConfigurationRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
67 
71  inline UpdateInstanceAccessControlAttributeConfigurationRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
72 
76  inline UpdateInstanceAccessControlAttributeConfigurationRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
77 
78 
82  inline const InstanceAccessControlAttributeConfiguration& GetInstanceAccessControlAttributeConfiguration() const{ return m_instanceAccessControlAttributeConfiguration; }
83 
87  inline bool InstanceAccessControlAttributeConfigurationHasBeenSet() const { return m_instanceAccessControlAttributeConfigurationHasBeenSet; }
88 
92  inline void SetInstanceAccessControlAttributeConfiguration(const InstanceAccessControlAttributeConfiguration& value) { m_instanceAccessControlAttributeConfigurationHasBeenSet = true; m_instanceAccessControlAttributeConfiguration = value; }
93 
97  inline void SetInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration&& value) { m_instanceAccessControlAttributeConfigurationHasBeenSet = true; m_instanceAccessControlAttributeConfiguration = std::move(value); }
98 
103 
107  inline UpdateInstanceAccessControlAttributeConfigurationRequest& WithInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration&& value) { SetInstanceAccessControlAttributeConfiguration(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_instanceArn;
112  bool m_instanceArnHasBeenSet;
113 
114  InstanceAccessControlAttributeConfiguration m_instanceAccessControlAttributeConfiguration;
115  bool m_instanceAccessControlAttributeConfigurationHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SSOAdmin
120 } // namespace Aws
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::InstanceAccessControlAttributeConfigurationHasBeenSet
bool InstanceAccessControlAttributeConfigurationHasBeenSet() const
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:87
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::WithInstanceAccessControlAttributeConfiguration
UpdateInstanceAccessControlAttributeConfigurationRequest & WithInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration &&value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:107
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::GetInstanceAccessControlAttributeConfiguration
const InstanceAccessControlAttributeConfiguration & GetInstanceAccessControlAttributeConfiguration() const
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:82
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::InstanceAccessControlAttributeConfiguration
Definition: InstanceAccessControlAttributeConfiguration.h:34
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::SetInstanceAccessControlAttributeConfiguration
void SetInstanceAccessControlAttributeConfiguration(const InstanceAccessControlAttributeConfiguration &value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:92
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::UpdateInstanceAccessControlAttributeConfigurationRequest
UpdateInstanceAccessControlAttributeConfigurationRequest()
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:23
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:61
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::SetInstanceAccessControlAttributeConfiguration
void SetInstanceAccessControlAttributeConfiguration(InstanceAccessControlAttributeConfiguration &&value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:97
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:31
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:56
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::WithInstanceArn
UpdateInstanceAccessControlAttributeConfigurationRequest & WithInstanceArn(const Aws::String &value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:66
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
AWSString.h
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::WithInstanceAccessControlAttributeConfiguration
UpdateInstanceAccessControlAttributeConfigurationRequest & WithInstanceAccessControlAttributeConfiguration(const InstanceAccessControlAttributeConfiguration &value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:102
SSOAdminRequest.h
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:51
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::WithInstanceArn
UpdateInstanceAccessControlAttributeConfigurationRequest & WithInstanceArn(const char *value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
InstanceAccessControlAttributeConfiguration.h
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::WithInstanceArn
UpdateInstanceAccessControlAttributeConfigurationRequest & WithInstanceArn(Aws::String &&value)
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:71
Aws::SSOAdmin::Model::UpdateInstanceAccessControlAttributeConfigurationRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: UpdateInstanceAccessControlAttributeConfigurationRequest.h:41