AWS SDK for C++  1.9.16
AWS SDK for C++
UntagDeliveryStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Firehose
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 "UntagDeliveryStream"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
42 
46  inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
47 
51  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
52 
56  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
57 
61  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
62 
66  inline UntagDeliveryStreamRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
67 
71  inline UntagDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
72 
76  inline UntagDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(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 UntagDeliveryStreamRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
108 
113  inline UntagDeliveryStreamRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
114 
119  inline UntagDeliveryStreamRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
120 
125  inline UntagDeliveryStreamRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
126 
131  inline UntagDeliveryStreamRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
132 
133  private:
134 
135  Aws::String m_deliveryStreamName;
136  bool m_deliveryStreamNameHasBeenSet;
137 
138  Aws::Vector<Aws::String> m_tagKeys;
139  bool m_tagKeysHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace Firehose
144 } // namespace Aws
Aws::Firehose::FirehoseRequest
Definition: FirehoseRequest.h:17
Aws::Firehose::Model::UntagDeliveryStreamRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagDeliveryStreamRequest.h:101
Aws::Firehose::Model::UntagDeliveryStreamRequest::WithTagKeys
UntagDeliveryStreamRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagDeliveryStreamRequest.h:107
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Firehose::Model::UntagDeliveryStreamRequest::DeliveryStreamNameHasBeenSet
bool DeliveryStreamNameHasBeenSet() const
Definition: UntagDeliveryStreamRequest.h:46
Aws::Firehose::Model::UntagDeliveryStreamRequest::GetDeliveryStreamName
const Aws::String & GetDeliveryStreamName() const
Definition: UntagDeliveryStreamRequest.h:41
Aws::Firehose::Model::UntagDeliveryStreamRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagDeliveryStreamRequest.h:83
Aws::Firehose::Model::UntagDeliveryStreamRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagDeliveryStreamRequest.h:95
Aws::Firehose::Model::UntagDeliveryStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagDeliveryStreamRequest.h:31
Aws::Firehose::Model::UntagDeliveryStreamRequest::SetDeliveryStreamName
void SetDeliveryStreamName(const char *value)
Definition: UntagDeliveryStreamRequest.h:61
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Firehose::Model::UntagDeliveryStreamRequest::WithDeliveryStreamName
UntagDeliveryStreamRequest & WithDeliveryStreamName(Aws::String &&value)
Definition: UntagDeliveryStreamRequest.h:71
Aws::Firehose::Model::UntagDeliveryStreamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Firehose::Model::UntagDeliveryStreamRequest::UntagDeliveryStreamRequest
UntagDeliveryStreamRequest()
Aws::Firehose::Model::UntagDeliveryStreamRequest
Definition: UntagDeliveryStreamRequest.h:23
Aws::Firehose::Model::UntagDeliveryStreamRequest::AddTagKeys
UntagDeliveryStreamRequest & AddTagKeys(Aws::String &&value)
Definition: UntagDeliveryStreamRequest.h:125
Aws::Firehose::Model::UntagDeliveryStreamRequest::AddTagKeys
UntagDeliveryStreamRequest & AddTagKeys(const char *value)
Definition: UntagDeliveryStreamRequest.h:131
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::UntagDeliveryStreamRequest::WithTagKeys
UntagDeliveryStreamRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagDeliveryStreamRequest.h:113
Aws::Firehose::Model::UntagDeliveryStreamRequest::SetDeliveryStreamName
void SetDeliveryStreamName(const Aws::String &value)
Definition: UntagDeliveryStreamRequest.h:51
AWSString.h
Aws::Firehose::Model::UntagDeliveryStreamRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagDeliveryStreamRequest.h:89
Firehose_EXPORTS.h
Aws::Firehose::Model::UntagDeliveryStreamRequest::WithDeliveryStreamName
UntagDeliveryStreamRequest & WithDeliveryStreamName(const Aws::String &value)
Definition: UntagDeliveryStreamRequest.h:66
Aws::Firehose::Model::UntagDeliveryStreamRequest::SetDeliveryStreamName
void SetDeliveryStreamName(Aws::String &&value)
Definition: UntagDeliveryStreamRequest.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::UntagDeliveryStreamRequest::WithDeliveryStreamName
UntagDeliveryStreamRequest & WithDeliveryStreamName(const char *value)
Definition: UntagDeliveryStreamRequest.h:76
Aws::Firehose::Model::UntagDeliveryStreamRequest::AddTagKeys
UntagDeliveryStreamRequest & AddTagKeys(const Aws::String &value)
Definition: UntagDeliveryStreamRequest.h:119
Aws::Firehose::Model::UntagDeliveryStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
FirehoseRequest.h