AWS SDK for C++  1.9.46
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 AlexaForBusiness
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 "UntagResource"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetArn() const{ return m_arn; }
42 
46  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 
51  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 
56  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
57 
61  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
62 
66  inline UntagResourceRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 
71  inline UntagResourceRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 
76  inline UntagResourceRequest& WithArn(const char* value) { SetArn(value); return *this;}
77 
78 
83  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
84 
89  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
90 
95  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
96 
101  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
102 
107  inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
108 
113  inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
114 
119  inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
120 
125  inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
126 
131  inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
132 
133  private:
134 
135  Aws::String m_arn;
136  bool m_arnHasBeenSet;
137 
138  Aws::Vector<Aws::String> m_tagKeys;
139  bool m_tagKeysHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace AlexaForBusiness
144 } // namespace Aws
Aws::AlexaForBusiness::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const char *value)
Definition: UntagResourceRequest.h:131
Aws::AlexaForBusiness::Model::UntagResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourceRequest.h:83
Aws::AlexaForBusiness::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(Aws::String &&value)
Definition: UntagResourceRequest.h:71
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourceRequest.h:119
Aws::AlexaForBusiness::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:107
Aws::AlexaForBusiness::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourceRequest.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::UntagResourceRequest::GetArn
const Aws::String & GetArn() const
Definition: UntagResourceRequest.h:41
AWSVector.h
Aws::AlexaForBusiness::Model::UntagResourceRequest::AddTagKeys
UntagResourceRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourceRequest.h:125
Aws::AlexaForBusiness::Model::UntagResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::UntagResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourceRequest.h:31
Aws::AlexaForBusiness::Model::UntagResourceRequest::WithTagKeys
UntagResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:113
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::UntagResourceRequest
Definition: UntagResourceRequest.h:23
Aws::AlexaForBusiness::Model::UntagResourceRequest::SetArn
void SetArn(const char *value)
Definition: UntagResourceRequest.h:61
Aws::AlexaForBusiness::Model::UntagResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(const char *value)
Definition: UntagResourceRequest.h:76
Aws::AlexaForBusiness::Model::UntagResourceRequest::UntagResourceRequest
UntagResourceRequest()
Aws::AlexaForBusiness::Model::UntagResourceRequest::SetArn
void SetArn(const Aws::String &value)
Definition: UntagResourceRequest.h:51
AWSString.h
Aws::AlexaForBusiness::Model::UntagResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourceRequest.h:101
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::UntagResourceRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: UntagResourceRequest.h:46
Aws::AlexaForBusiness::Model::UntagResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourceRequest.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::UntagResourceRequest::SetArn
void SetArn(Aws::String &&value)
Definition: UntagResourceRequest.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::UntagResourceRequest::WithArn
UntagResourceRequest & WithArn(const Aws::String &value)
Definition: UntagResourceRequest.h:66
AlexaForBusinessRequest.h