AWS SDK for C++  1.9.154
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 GameLift
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 
46  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
47 
56  inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
57 
66  inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
67 
76  inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
77 
86  inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
87 
96  inline UntagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
97 
106  inline UntagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
107 
116  inline UntagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
117 
118 
124  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
125 
131  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
132 
138  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
139 
145  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
146 
152  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
153 
159  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
160 
166  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
167 
173  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
174 
180  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
181 
182  private:
183 
184  Aws::String m_resourceARN;
185  bool m_resourceARNHasBeenSet;
186 
187  Aws::Vector<Aws::String> m_tagKeys;
188  bool m_tagKeysHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace GameLift
193 } // namespace Aws
Aws::GameLift::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:131
Aws::GameLift::Model::UntagResourceRequest::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: UntagResourceRequest.h:76
Aws::GameLift::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:159
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:124
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UntagResourceRequest::SetResourceARN
void SetResourceARN(const char *value)
Definition: UntagResourceRequest.h:86
Aws::GameLift::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:138
Aws::GameLift::Model::UntagResourceRequest::WithResourceARN
UntagResourceRequest & WithResourceARN(Aws::String &&value)
Definition: UntagResourceRequest.h:106
Aws::GameLift::Model::UntagResourceRequest::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: UntagResourceRequest.h:46
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GameLift::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:173
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:31
Aws::GameLift::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:145
Aws::GameLift::Model::UntagResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::UntagResourceRequest::WithResourceARN
UntagResourceRequest & WithResourceARN(const char *value)
Definition: UntagResourceRequest.h:116
AWSString.h
Aws::GameLift::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::UntagResourceRequest::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: UntagResourceRequest.h:66
Aws::GameLift::Model::UntagResourceRequest::WithResourceARN
UntagResourceRequest & WithResourceARN(const Aws::String &value)
Definition: UntagResourceRequest.h:96
Aws::GameLift::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:180
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:23
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::UntagResourceRequest::ResourceARNHasBeenSet
bool ResourceARNHasBeenSet() const
Definition: UntagResourceRequest.h:56
Aws::GameLift::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:152
Aws::GameLift::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
Aws::GameLift::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:166