AWS SDK for C++  1.9.108
AWS SDK for C++
UntagResource2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace CloudFront
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "UntagResource"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
49  inline const Aws::String& GetResource() const{ return m_resource; }
50 
54  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
55 
59  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
60 
64  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
65 
69  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
70 
74  inline UntagResource2020_05_31Request& WithResource(const Aws::String& value) { SetResource(value); return *this;}
75 
79  inline UntagResource2020_05_31Request& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
80 
84  inline UntagResource2020_05_31Request& WithResource(const char* value) { SetResource(value); return *this;}
85 
86 
90  inline const TagKeys& GetTagKeys() const{ return m_tagKeys; }
91 
95  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
96 
100  inline void SetTagKeys(const TagKeys& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
101 
105  inline void SetTagKeys(TagKeys&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
106 
110  inline UntagResource2020_05_31Request& WithTagKeys(const TagKeys& value) { SetTagKeys(value); return *this;}
111 
115  inline UntagResource2020_05_31Request& WithTagKeys(TagKeys&& value) { SetTagKeys(std::move(value)); return *this;}
116 
117  private:
118 
119  Aws::String m_resource;
120  bool m_resourceHasBeenSet;
121 
122  TagKeys m_tagKeys;
123  bool m_tagKeysHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace CloudFront
128 } // namespace Aws
Aws::CloudFront::Model::UntagResource2020_05_31Request::WithResource
UntagResource2020_05_31Request & WithResource(const Aws::String &value)
Definition: UntagResource2020_05_31Request.h:74
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFront::Model::UntagResource2020_05_31Request::WithResource
UntagResource2020_05_31Request & WithResource(const char *value)
Definition: UntagResource2020_05_31Request.h:84
Aws::CloudFront::Model::UntagResource2020_05_31Request::UntagResource2020_05_31Request
UntagResource2020_05_31Request()
CloudFrontRequest.h
Aws::CloudFront::Model::UntagResource2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::UntagResource2020_05_31Request::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: UntagResource2020_05_31Request.h:54
Aws::CloudFront::Model::UntagResource2020_05_31Request::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResource2020_05_31Request.h:95
Aws::CloudFront::Model::UntagResource2020_05_31Request::WithResource
UntagResource2020_05_31Request & WithResource(Aws::String &&value)
Definition: UntagResource2020_05_31Request.h:79
Aws::CloudFront::Model::UntagResource2020_05_31Request::SetResource
void SetResource(const char *value)
Definition: UntagResource2020_05_31Request.h:69
Aws::CloudFront::Model::TagKeys
Definition: TagKeys.h:33
Aws::CloudFront::Model::UntagResource2020_05_31Request::WithTagKeys
UntagResource2020_05_31Request & WithTagKeys(TagKeys &&value)
Definition: UntagResource2020_05_31Request.h:115
TagKeys.h
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::UntagResource2020_05_31Request::WithTagKeys
UntagResource2020_05_31Request & WithTagKeys(const TagKeys &value)
Definition: UntagResource2020_05_31Request.h:110
Aws::CloudFront::Model::UntagResource2020_05_31Request
Definition: UntagResource2020_05_31Request.h:31
CloudFront_EXPORTS.h
Aws::CloudFront::Model::UntagResource2020_05_31Request::SetTagKeys
void SetTagKeys(const TagKeys &value)
Definition: UntagResource2020_05_31Request.h:100
Aws::CloudFront::Model::UntagResource2020_05_31Request::SetResource
void SetResource(Aws::String &&value)
Definition: UntagResource2020_05_31Request.h:64
Aws::CloudFront::Model::UntagResource2020_05_31Request::SetTagKeys
void SetTagKeys(TagKeys &&value)
Definition: UntagResource2020_05_31Request.h:105
Aws::CloudFront::Model::UntagResource2020_05_31Request::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::UntagResource2020_05_31Request::GetTagKeys
const TagKeys & GetTagKeys() const
Definition: UntagResource2020_05_31Request.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UntagResource2020_05_31Request::SetResource
void SetResource(const Aws::String &value)
Definition: UntagResource2020_05_31Request.h:59
Aws::CloudFront::Model::UntagResource2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResource2020_05_31Request.h:39
Aws::CloudFront::Model::UntagResource2020_05_31Request::GetResource
const Aws::String & GetResource() const
Definition: UntagResource2020_05_31Request.h:49