AWS SDK for C++  1.9.45
AWS SDK for C++
RemoveTagsFromCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
8 #include <aws/acm/ACMRequest.h>
11 #include <aws/acm/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ACM
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "RemoveTagsFromCertificate"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
47  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
48 
57  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
58 
67  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
68 
77  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
78 
87  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
88 
97  inline RemoveTagsFromCertificateRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
98 
107  inline RemoveTagsFromCertificateRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
108 
117  inline RemoveTagsFromCertificateRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
118 
119 
123  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
124 
128  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 
133  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
134 
138  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
139 
143  inline RemoveTagsFromCertificateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
144 
148  inline RemoveTagsFromCertificateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
149 
153  inline RemoveTagsFromCertificateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
154 
158  inline RemoveTagsFromCertificateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
159 
160  private:
161 
162  Aws::String m_certificateArn;
163  bool m_certificateArnHasBeenSet;
164 
165  Aws::Vector<Tag> m_tags;
166  bool m_tagsHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace ACM
171 } // namespace Aws
Aws::ACM::Model::RemoveTagsFromCertificateRequest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: RemoveTagsFromCertificateRequest.h:77
Aws::ACM::Model::RemoveTagsFromCertificateRequest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: RemoveTagsFromCertificateRequest.h:57
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ACM::Model::RemoveTagsFromCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveTagsFromCertificateRequest.h:32
Aws::ACM::Model::RemoveTagsFromCertificateRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: RemoveTagsFromCertificateRequest.h:138
Aws::ACM::Model::RemoveTagsFromCertificateRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RemoveTagsFromCertificateRequest.h:128
Aws::ACM::Model::RemoveTagsFromCertificateRequest::WithCertificateArn
RemoveTagsFromCertificateRequest & WithCertificateArn(Aws::String &&value)
Definition: RemoveTagsFromCertificateRequest.h:107
Aws::ACM::Model::RemoveTagsFromCertificateRequest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: RemoveTagsFromCertificateRequest.h:47
Aws::ACM::ACMRequest
Definition: ACMRequest.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ACM::Model::RemoveTagsFromCertificateRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: RemoveTagsFromCertificateRequest.h:123
AWSVector.h
Aws::ACM::Model::RemoveTagsFromCertificateRequest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: RemoveTagsFromCertificateRequest.h:87
Aws::ACM::Model::RemoveTagsFromCertificateRequest::WithCertificateArn
RemoveTagsFromCertificateRequest & WithCertificateArn(const char *value)
Definition: RemoveTagsFromCertificateRequest.h:117
Aws::ACM::Model::RemoveTagsFromCertificateRequest::AddTags
RemoveTagsFromCertificateRequest & AddTags(Tag &&value)
Definition: RemoveTagsFromCertificateRequest.h:158
Aws::ACM::Model::RemoveTagsFromCertificateRequest::WithTags
RemoveTagsFromCertificateRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: RemoveTagsFromCertificateRequest.h:148
Aws::ACM::Model::RemoveTagsFromCertificateRequest::WithCertificateArn
RemoveTagsFromCertificateRequest & WithCertificateArn(const Aws::String &value)
Definition: RemoveTagsFromCertificateRequest.h:97
Aws::ACM::Model::RemoveTagsFromCertificateRequest::WithTags
RemoveTagsFromCertificateRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: RemoveTagsFromCertificateRequest.h:143
Aws::ACM::Model::Tag
Definition: Tag.h:33
Tag.h
AWSString.h
Aws::ACM::Model::RemoveTagsFromCertificateRequest::RemoveTagsFromCertificateRequest
RemoveTagsFromCertificateRequest()
ACMRequest.h
ACM_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::ACM::Model::RemoveTagsFromCertificateRequest::AddTags
RemoveTagsFromCertificateRequest & AddTags(const Tag &value)
Definition: RemoveTagsFromCertificateRequest.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::RemoveTagsFromCertificateRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: RemoveTagsFromCertificateRequest.h:133
Aws::ACM::Model::RemoveTagsFromCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ACM::Model::RemoveTagsFromCertificateRequest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: RemoveTagsFromCertificateRequest.h:67
Aws::ACM::Model::RemoveTagsFromCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ACM::Model::RemoveTagsFromCertificateRequest
Definition: RemoveTagsFromCertificateRequest.h:24