AWS SDK for C++  1.9.104
AWS SDK for C++
UntagResourceRequest.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 "UntagResource"; }
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 UntagResourceRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
91 
99  inline UntagResourceRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
100 
108  inline UntagResourceRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
109 
110 
114  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
115 
119  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
120 
124  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
125 
129  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
130 
134  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
135 
139  inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
140 
144  inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
145 
149  inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
150 
151 
155  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
156 
160  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
161 
165  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
166 
170  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
171 
175  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
176 
180  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
181 
185  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
186 
190  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
191 
195  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
196 
197  private:
198 
199  Aws::String m_instanceArn;
200  bool m_instanceArnHasBeenSet;
201 
202  Aws::String m_resourceArn;
203  bool m_resourceArnHasBeenSet;
204 
205  Aws::Vector<Aws::String> m_tagKeys;
206  bool m_tagKeysHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace SSOAdmin
211 } // namespace Aws
Aws::SSOAdmin::Model::UntagResourceRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: UntagResourceRequest.h:134
Aws::SSOAdmin::Model::UntagResourceRequest::WithInstanceArn
UntagResourceRequest & WithInstanceArn(const char *value)
Definition: UntagResourceRequest.h:108
Aws::SSOAdmin::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:185
Aws::SSOAdmin::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:170
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSOAdmin::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:175
Aws::SSOAdmin::Model::UntagResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSOAdmin::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:190
Aws::SSOAdmin::Model::UntagResourceRequest::GetInstanceArn
const Aws::String & GetInstanceArn() const
Definition: UntagResourceRequest.h:45
Aws::SSOAdmin::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSOAdmin::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:180
Aws::SSOAdmin::Model::UntagResourceRequest::InstanceArnHasBeenSet
bool InstanceArnHasBeenSet() const
Definition: UntagResourceRequest.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
AWSVector.h
Aws::SSOAdmin::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:195
Aws::SSOAdmin::Model::UntagResourceRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: UntagResourceRequest.h:114
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::UntagResourceRequest::WithResourceArn
UntagResourceRequest & WithResourceArn(Aws::String &&value)
Definition: UntagResourceRequest.h:144
Aws::SSOAdmin::Model::UntagResourceRequest::WithResourceArn
UntagResourceRequest & WithResourceArn(const Aws::String &value)
Definition: UntagResourceRequest.h:139
Aws::SSOAdmin::Model::UntagResourceRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: UntagResourceRequest.h:129
Aws::SSOAdmin::SSOAdminRequest
Definition: SSOAdminRequest.h:17
AWSString.h
Aws::SSOAdmin::Model::UntagResourceRequest::WithResourceArn
UntagResourceRequest & WithResourceArn(const char *value)
Definition: UntagResourceRequest.h:149
Aws::SSOAdmin::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:165
Aws::SSOAdmin::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:23
SSOAdminRequest.h
Aws::SSOAdmin::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
Aws::SSOAdmin::Model::UntagResourceRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: UntagResourceRequest.h:124
Aws::SSOAdmin::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:155
Aws::SSOAdmin::Model::UntagResourceRequest::SetInstanceArn
void SetInstanceArn(const char *value)
Definition: UntagResourceRequest.h:81
Aws::SSOAdmin::Model::UntagResourceRequest::WithInstanceArn
UntagResourceRequest & WithInstanceArn(const Aws::String &value)
Definition: UntagResourceRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:160
Aws::SSOAdmin::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::UntagResourceRequest::SetInstanceArn
void SetInstanceArn(Aws::String &&value)
Definition: UntagResourceRequest.h:72
Aws::SSOAdmin::Model::UntagResourceRequest::SetInstanceArn
void SetInstanceArn(const Aws::String &value)
Definition: UntagResourceRequest.h:63
Aws::SSOAdmin::Model::UntagResourceRequest::WithInstanceArn
UntagResourceRequest & WithInstanceArn(Aws::String &&value)
Definition: UntagResourceRequest.h:99
Aws::SSOAdmin::Model::UntagResourceRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: UntagResourceRequest.h:119