AWS SDK for C++  1.9.108
AWS SDK for C++
UntagResourceRequest.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 WellArchitected
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UntagResource"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
42 
43  inline const Aws::String& GetWorkloadArn() const{ return m_workloadArn; }
44 
45 
46  inline bool WorkloadArnHasBeenSet() const { return m_workloadArnHasBeenSet; }
47 
48 
49  inline void SetWorkloadArn(const Aws::String& value) { m_workloadArnHasBeenSet = true; m_workloadArn = value; }
50 
51 
52  inline void SetWorkloadArn(Aws::String&& value) { m_workloadArnHasBeenSet = true; m_workloadArn = std::move(value); }
53 
54 
55  inline void SetWorkloadArn(const char* value) { m_workloadArnHasBeenSet = true; m_workloadArn.assign(value); }
56 
57 
58  inline UntagResourceRequest& WithWorkloadArn(const Aws::String& value) { SetWorkloadArn(value); return *this;}
59 
60 
61  inline UntagResourceRequest& WithWorkloadArn(Aws::String&& value) { SetWorkloadArn(std::move(value)); return *this;}
62 
63 
64  inline UntagResourceRequest& WithWorkloadArn(const char* value) { SetWorkloadArn(value); return *this;}
65 
66 
71  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
72 
77  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
78 
83  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
84 
89  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
90 
95  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
96 
101  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
102 
107  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
108 
113  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
114 
119  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
120 
121  private:
122 
123  Aws::String m_workloadArn;
124  bool m_workloadArnHasBeenSet;
125 
126  Aws::Vector<Aws::String> m_tagKeys;
127  bool m_tagKeysHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace WellArchitected
132 } // namespace Aws
Aws::WellArchitected::Model::UntagResourceRequest::WorkloadArnHasBeenSet
bool WorkloadArnHasBeenSet() const
Definition: UntagResourceRequest.h:46
WellArchitectedRequest.h
Aws::WellArchitected::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:27
Aws::Http::URI
Definition: URI.h:32
WellArchitected_EXPORTS.h
Aws::WellArchitected::Model::UntagResourceRequest::GetWorkloadArn
const Aws::String & GetWorkloadArn() const
Definition: UntagResourceRequest.h:43
Aws::WellArchitected::Model::UntagResourceRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::WellArchitected::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WellArchitected::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:119
Aws::WellArchitected::WellArchitectedRequest
Definition: WellArchitectedRequest.h:17
AWSVector.h
Aws::WellArchitected::Model::UntagResourceRequest::WithWorkloadArn
UntagResourceRequest & WithWorkloadArn(const Aws::String &value)
Definition: UntagResourceRequest.h:58
Aws::WellArchitected::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
Aws::WellArchitected::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:71
Aws::WellArchitected::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:113
Aws::WellArchitected::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:95
Aws::WellArchitected::Model::UntagResourceRequest::SetWorkloadArn
void SetWorkloadArn(const char *value)
Definition: UntagResourceRequest.h:55
Aws::WellArchitected::Model::UntagResourceRequest::SetWorkloadArn
void SetWorkloadArn(const Aws::String &value)
Definition: UntagResourceRequest.h:49
AWSString.h
AWS_WELLARCHITECTED_API
#define AWS_WELLARCHITECTED_API
Definition: WellArchitected_EXPORTS.h:28
Aws::WellArchitected::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::WellArchitected::Model::UntagResourceRequest::SetWorkloadArn
void SetWorkloadArn(Aws::String &&value)
Definition: UntagResourceRequest.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WellArchitected::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:35
Aws::WellArchitected::Model::UntagResourceRequest::WithWorkloadArn
UntagResourceRequest & WithWorkloadArn(const char *value)
Definition: UntagResourceRequest.h:64
Aws::WellArchitected::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:89
Aws::WellArchitected::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:77
Aws::WellArchitected::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:83
Aws::WellArchitected::Model::UntagResourceRequest::WithWorkloadArn
UntagResourceRequest & WithWorkloadArn(Aws::String &&value)
Definition: UntagResourceRequest.h:61
Aws::WellArchitected::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override