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