AWS SDK for C++  1.9.156
AWS SDK for C++
UntagSAMLProviderRequest.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 "UntagSAMLProvider"; }
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& GetSAMLProviderArn() const{ return m_sAMLProviderArn; }
48 
56  inline bool SAMLProviderArnHasBeenSet() const { return m_sAMLProviderArnHasBeenSet; }
57 
65  inline void SetSAMLProviderArn(const Aws::String& value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn = value; }
66 
74  inline void SetSAMLProviderArn(Aws::String&& value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn = std::move(value); }
75 
83  inline void SetSAMLProviderArn(const char* value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn.assign(value); }
84 
92  inline UntagSAMLProviderRequest& WithSAMLProviderArn(const Aws::String& value) { SetSAMLProviderArn(value); return *this;}
93 
101  inline UntagSAMLProviderRequest& WithSAMLProviderArn(Aws::String&& value) { SetSAMLProviderArn(std::move(value)); return *this;}
102 
110  inline UntagSAMLProviderRequest& WithSAMLProviderArn(const char* value) { SetSAMLProviderArn(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 UntagSAMLProviderRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
142 
147  inline UntagSAMLProviderRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
148 
153  inline UntagSAMLProviderRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
154 
159  inline UntagSAMLProviderRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
160 
165  inline UntagSAMLProviderRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
166 
167  private:
168 
169  Aws::String m_sAMLProviderArn;
170  bool m_sAMLProviderArnHasBeenSet;
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::UntagSAMLProviderRequest::WithSAMLProviderArn
UntagSAMLProviderRequest & WithSAMLProviderArn(Aws::String &&value)
Definition: UntagSAMLProviderRequest.h:101
Aws::IAM::Model::UntagSAMLProviderRequest::AddTagKeys
UntagSAMLProviderRequest & AddTagKeys(const Aws::String &value)
Definition: UntagSAMLProviderRequest.h:153
Aws::IAM::Model::UntagSAMLProviderRequest::WithTagKeys
UntagSAMLProviderRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagSAMLProviderRequest.h:147
Aws::IAM::Model::UntagSAMLProviderRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::UntagSAMLProviderRequest::SAMLProviderArnHasBeenSet
bool SAMLProviderArnHasBeenSet() const
Definition: UntagSAMLProviderRequest.h:56
Aws::IAM::Model::UntagSAMLProviderRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagSAMLProviderRequest.h:31
Aws::IAM::Model::UntagSAMLProviderRequest
Definition: UntagSAMLProviderRequest.h:23
Aws::IAM::Model::UntagSAMLProviderRequest::GetSAMLProviderArn
const Aws::String & GetSAMLProviderArn() const
Definition: UntagSAMLProviderRequest.h:47
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::IAM::Model::UntagSAMLProviderRequest::SetSAMLProviderArn
void SetSAMLProviderArn(Aws::String &&value)
Definition: UntagSAMLProviderRequest.h:74
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IAM::Model::UntagSAMLProviderRequest::UntagSAMLProviderRequest
UntagSAMLProviderRequest()
AWSVector.h
Aws::IAM::Model::UntagSAMLProviderRequest::SetSAMLProviderArn
void SetSAMLProviderArn(const char *value)
Definition: UntagSAMLProviderRequest.h:83
Aws::IAM::Model::UntagSAMLProviderRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagSAMLProviderRequest.h:123
Aws::IAM::Model::UntagSAMLProviderRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagSAMLProviderRequest.h:117
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::UntagSAMLProviderRequest::WithSAMLProviderArn
UntagSAMLProviderRequest & WithSAMLProviderArn(const Aws::String &value)
Definition: UntagSAMLProviderRequest.h:92
Aws::IAM::Model::UntagSAMLProviderRequest::SetSAMLProviderArn
void SetSAMLProviderArn(const Aws::String &value)
Definition: UntagSAMLProviderRequest.h:65
Aws::IAM::Model::UntagSAMLProviderRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::IAM::Model::UntagSAMLProviderRequest::AddTagKeys
UntagSAMLProviderRequest & AddTagKeys(Aws::String &&value)
Definition: UntagSAMLProviderRequest.h:159
IAM_EXPORTS.h
IAMRequest.h
Aws::IAM::Model::UntagSAMLProviderRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagSAMLProviderRequest.h:135
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::UntagSAMLProviderRequest::WithTagKeys
UntagSAMLProviderRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagSAMLProviderRequest.h:141
Aws::IAM::Model::UntagSAMLProviderRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagSAMLProviderRequest.h:129
Aws::IAM::Model::UntagSAMLProviderRequest::WithSAMLProviderArn
UntagSAMLProviderRequest & WithSAMLProviderArn(const char *value)
Definition: UntagSAMLProviderRequest.h:110
Aws::IAM::Model::UntagSAMLProviderRequest::AddTagKeys
UntagSAMLProviderRequest & AddTagKeys(const char *value)
Definition: UntagSAMLProviderRequest.h:165