AWS SDK for C++  1.9.40
AWS SDK for C++
UntagInstanceProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IAM
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 "UntagInstanceProfile"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
47  inline const Aws::String& GetInstanceProfileName() const{ return m_instanceProfileName; }
48 
56  inline bool InstanceProfileNameHasBeenSet() const { return m_instanceProfileNameHasBeenSet; }
57 
65  inline void SetInstanceProfileName(const Aws::String& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = value; }
66 
74  inline void SetInstanceProfileName(Aws::String&& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = std::move(value); }
75 
83  inline void SetInstanceProfileName(const char* value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName.assign(value); }
84 
92  inline UntagInstanceProfileRequest& WithInstanceProfileName(const Aws::String& value) { SetInstanceProfileName(value); return *this;}
93 
101  inline UntagInstanceProfileRequest& WithInstanceProfileName(Aws::String&& value) { SetInstanceProfileName(std::move(value)); return *this;}
102 
110  inline UntagInstanceProfileRequest& WithInstanceProfileName(const char* value) { SetInstanceProfileName(value); return *this;}
111 
112 
117  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
118 
123  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
124 
129  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
130 
135  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
136 
141  inline UntagInstanceProfileRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
142 
147  inline UntagInstanceProfileRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
148 
153  inline UntagInstanceProfileRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
154 
159  inline UntagInstanceProfileRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
160 
165  inline UntagInstanceProfileRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
166 
167  private:
168 
169  Aws::String m_instanceProfileName;
170  bool m_instanceProfileNameHasBeenSet;
171 
172  Aws::Vector<Aws::String> m_tagKeys;
173  bool m_tagKeysHasBeenSet;
174  };
175 
176 } // namespace Model
177 } // namespace IAM
178 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::UntagInstanceProfileRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagInstanceProfileRequest.h:129
Aws::IAM::Model::UntagInstanceProfileRequest::AddTagKeys
UntagInstanceProfileRequest & AddTagKeys(Aws::String &&value)
Definition: UntagInstanceProfileRequest.h:159
Aws::IAM::Model::UntagInstanceProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::UntagInstanceProfileRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::UntagInstanceProfileRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagInstanceProfileRequest.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IAM::Model::UntagInstanceProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagInstanceProfileRequest.h:31
Aws::IAM::Model::UntagInstanceProfileRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagInstanceProfileRequest.h:123
Aws::IAM::Model::UntagInstanceProfileRequest::UntagInstanceProfileRequest
UntagInstanceProfileRequest()
Aws::IAM::Model::UntagInstanceProfileRequest
Definition: UntagInstanceProfileRequest.h:23
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::UntagInstanceProfileRequest::SetInstanceProfileName
void SetInstanceProfileName(const char *value)
Definition: UntagInstanceProfileRequest.h:83
Aws::IAM::Model::UntagInstanceProfileRequest::WithTagKeys
UntagInstanceProfileRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagInstanceProfileRequest.h:147
Aws::IAM::Model::UntagInstanceProfileRequest::InstanceProfileNameHasBeenSet
bool InstanceProfileNameHasBeenSet() const
Definition: UntagInstanceProfileRequest.h:56
Aws::IAM::Model::UntagInstanceProfileRequest::WithInstanceProfileName
UntagInstanceProfileRequest & WithInstanceProfileName(const Aws::String &value)
Definition: UntagInstanceProfileRequest.h:92
AWSString.h
Aws::IAM::Model::UntagInstanceProfileRequest::AddTagKeys
UntagInstanceProfileRequest & AddTagKeys(const Aws::String &value)
Definition: UntagInstanceProfileRequest.h:153
Aws::IAM::Model::UntagInstanceProfileRequest::WithInstanceProfileName
UntagInstanceProfileRequest & WithInstanceProfileName(Aws::String &&value)
Definition: UntagInstanceProfileRequest.h:101
Aws::IAM::Model::UntagInstanceProfileRequest::WithTagKeys
UntagInstanceProfileRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagInstanceProfileRequest.h:141
Aws::IAM::Model::UntagInstanceProfileRequest::SetInstanceProfileName
void SetInstanceProfileName(Aws::String &&value)
Definition: UntagInstanceProfileRequest.h:74
Aws::IAM::Model::UntagInstanceProfileRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagInstanceProfileRequest.h:135
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::UntagInstanceProfileRequest::GetInstanceProfileName
const Aws::String & GetInstanceProfileName() const
Definition: UntagInstanceProfileRequest.h:47
Aws::IAM::Model::UntagInstanceProfileRequest::AddTagKeys
UntagInstanceProfileRequest & AddTagKeys(const char *value)
Definition: UntagInstanceProfileRequest.h:165
Aws::IAM::Model::UntagInstanceProfileRequest::SetInstanceProfileName
void SetInstanceProfileName(const Aws::String &value)
Definition: UntagInstanceProfileRequest.h:65
Aws::IAM::Model::UntagInstanceProfileRequest::WithInstanceProfileName
UntagInstanceProfileRequest & WithInstanceProfileName(const char *value)
Definition: UntagInstanceProfileRequest.h:110