AWS SDK for C++  1.9.103
AWS SDK for C++
RemoveTagsFromStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Kinesis
16 {
17 namespace Model
18 {
19 
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 "RemoveTagsFromStream"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
45  inline const Aws::String& GetStreamName() const{ return m_streamName; }
46 
50  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
51 
55  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
56 
60  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
61 
65  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
66 
70  inline RemoveTagsFromStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
71 
75  inline RemoveTagsFromStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
76 
80  inline RemoveTagsFromStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
81 
82 
86  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
87 
91  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
92 
96  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
97 
101  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
102 
106  inline RemoveTagsFromStreamRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
107 
111  inline RemoveTagsFromStreamRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
112 
116  inline RemoveTagsFromStreamRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
117 
121  inline RemoveTagsFromStreamRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
122 
126  inline RemoveTagsFromStreamRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
127 
128  private:
129 
130  Aws::String m_streamName;
131  bool m_streamNameHasBeenSet;
132 
133  Aws::Vector<Aws::String> m_tagKeys;
134  bool m_tagKeysHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace Kinesis
139 } // namespace Aws
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::SetStreamName
void SetStreamName(const char *value)
Definition: RemoveTagsFromStreamRequest.h:65
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: RemoveTagsFromStreamRequest.h:45
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: RemoveTagsFromStreamRequest.h:55
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::AddTagKeys
RemoveTagsFromStreamRequest & AddTagKeys(const char *value)
Definition: RemoveTagsFromStreamRequest.h:126
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::AddTagKeys
RemoveTagsFromStreamRequest & AddTagKeys(const Aws::String &value)
Definition: RemoveTagsFromStreamRequest.h:116
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::RemoveTagsFromStreamRequest
RemoveTagsFromStreamRequest()
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::WithStreamName
RemoveTagsFromStreamRequest & WithStreamName(const char *value)
Definition: RemoveTagsFromStreamRequest.h:80
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsFromStreamRequest.h:96
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSVector.h
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: RemoveTagsFromStreamRequest.h:86
KinesisRequest.h
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: RemoveTagsFromStreamRequest.h:50
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::AddTagKeys
RemoveTagsFromStreamRequest & AddTagKeys(Aws::String &&value)
Definition: RemoveTagsFromStreamRequest.h:121
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::WithStreamName
RemoveTagsFromStreamRequest & WithStreamName(const Aws::String &value)
Definition: RemoveTagsFromStreamRequest.h:70
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::WithTagKeys
RemoveTagsFromStreamRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsFromStreamRequest.h:111
AWSString.h
Aws::Kinesis::KinesisRequest
Definition: KinesisRequest.h:17
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: RemoveTagsFromStreamRequest.h:60
Kinesis_EXPORTS.h
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: RemoveTagsFromStreamRequest.h:91
Aws::Kinesis::Model::RemoveTagsFromStreamRequest
Definition: RemoveTagsFromStreamRequest.h:27
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveTagsFromStreamRequest.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsFromStreamRequest.h:101
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::WithStreamName
RemoveTagsFromStreamRequest & WithStreamName(Aws::String &&value)
Definition: RemoveTagsFromStreamRequest.h:75
Aws::Kinesis::Model::RemoveTagsFromStreamRequest::WithTagKeys
RemoveTagsFromStreamRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsFromStreamRequest.h:106