AWS SDK for C++
1.8.154
AWS SDK for C++
aws-cpp-sdk-kinesis
include
aws
kinesis
model
AddTagsToStreamRequest.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/kinesis/Kinesis_EXPORTS.h
>
8
#include <
aws/kinesis/KinesisRequest.h
>
9
#include <
aws/core/utils/memory/stl/AWSString.h
>
10
#include <
aws/core/utils/memory/stl/AWSMap.h
>
11
#include <utility>
12
13
namespace
Aws
14
{
15
namespace
Kinesis
16
{
17
namespace
Model
18
{
19
26
class
AWS_KINESIS_API
AddTagsToStreamRequest
:
public
KinesisRequest
27
{
28
public
:
29
AddTagsToStreamRequest
();
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
"AddTagsToStream"
; }
36
37
Aws::String
SerializePayload
()
const override
;
38
39
Aws::Http::HeaderValueCollection
GetRequestSpecificHeaders
()
const override
;
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
AddTagsToStreamRequest
&
WithStreamName
(
const
Aws::String
& value) { SetStreamName(value);
return
*
this
;}
71
75
inline
AddTagsToStreamRequest
&
WithStreamName
(
Aws::String
&& value) { SetStreamName(std::move(value));
return
*
this
;}
76
80
inline
AddTagsToStreamRequest
&
WithStreamName
(
const
char
* value) { SetStreamName(value);
return
*
this
;}
81
82
86
inline
const
Aws::Map<Aws::String, Aws::String>
&
GetTags
()
const
{
return
m_tags; }
87
91
inline
bool
TagsHasBeenSet
()
const
{
return
m_tagsHasBeenSet; }
92
96
inline
void
SetTags
(
const
Aws::Map<Aws::String, Aws::String>
& value) { m_tagsHasBeenSet =
true
; m_tags = value; }
97
101
inline
void
SetTags
(
Aws::Map<Aws::String, Aws::String>
&& value) { m_tagsHasBeenSet =
true
; m_tags = std::move(value); }
102
106
inline
AddTagsToStreamRequest
&
WithTags
(
const
Aws::Map<Aws::String, Aws::String>
& value) { SetTags(value);
return
*
this
;}
107
111
inline
AddTagsToStreamRequest
&
WithTags
(
Aws::Map<Aws::String, Aws::String>
&& value) { SetTags(std::move(value));
return
*
this
;}
112
116
inline
AddTagsToStreamRequest
&
AddTags
(
const
Aws::String
& key,
const
Aws::String
& value) { m_tagsHasBeenSet =
true
; m_tags.emplace(key, value);
return
*
this
; }
117
121
inline
AddTagsToStreamRequest
&
AddTags
(
Aws::String
&& key,
const
Aws::String
& value) { m_tagsHasBeenSet =
true
; m_tags.emplace(std::move(key), value);
return
*
this
; }
122
126
inline
AddTagsToStreamRequest
&
AddTags
(
const
Aws::String
& key,
Aws::String
&& value) { m_tagsHasBeenSet =
true
; m_tags.emplace(key, std::move(value));
return
*
this
; }
127
131
inline
AddTagsToStreamRequest
&
AddTags
(
Aws::String
&& key,
Aws::String
&& value) { m_tagsHasBeenSet =
true
; m_tags.emplace(std::move(key), std::move(value));
return
*
this
; }
132
136
inline
AddTagsToStreamRequest
&
AddTags
(
const
char
* key,
Aws::String
&& value) { m_tagsHasBeenSet =
true
; m_tags.emplace(key, std::move(value));
return
*
this
; }
137
141
inline
AddTagsToStreamRequest
&
AddTags
(
Aws::String
&& key,
const
char
* value) { m_tagsHasBeenSet =
true
; m_tags.emplace(std::move(key), value);
return
*
this
; }
142
146
inline
AddTagsToStreamRequest
&
AddTags
(
const
char
* key,
const
char
* value) { m_tagsHasBeenSet =
true
; m_tags.emplace(key, value);
return
*
this
; }
147
148
private
:
149
150
Aws::String
m_streamName;
151
bool
m_streamNameHasBeenSet;
152
153
Aws::Map<Aws::String, Aws::String>
m_tags;
154
bool
m_tagsHasBeenSet;
155
};
156
157
}
// namespace Model
158
}
// namespace Kinesis
159
}
// namespace Aws
Aws::Kinesis::Model::AddTagsToStreamRequest::SetStreamName
void SetStreamName(const char *value)
Definition:
AddTagsToStreamRequest.h:65
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition:
AddTagsToStreamRequest.h:116
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTagsToStreamRequest
AddTagsToStreamRequest()
Aws::Kinesis::Model::AddTagsToStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kinesis::Model::AddTagsToStreamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Kinesis::Model::AddTagsToStreamRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition:
AddTagsToStreamRequest.h:96
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition:
HttpTypes.h:53
Aws::Kinesis::Model::AddTagsToStreamRequest::WithStreamName
AddTagsToStreamRequest & WithStreamName(const Aws::String &value)
Definition:
AddTagsToStreamRequest.h:70
Aws::Kinesis::Model::AddTagsToStreamRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition:
AddTagsToStreamRequest.h:60
Aws::Kinesis::Model::AddTagsToStreamRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition:
AddTagsToStreamRequest.h:50
Aws::Kinesis::Model::AddTagsToStreamRequest::WithTags
AddTagsToStreamRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition:
AddTagsToStreamRequest.h:111
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition:
AddTagsToStreamRequest.h:126
Aws::Kinesis::Model::AddTagsToStreamRequest::WithTags
AddTagsToStreamRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition:
AddTagsToStreamRequest.h:106
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition:
Kinesis_EXPORTS.h:28
KinesisRequest.h
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(const char *key, Aws::String &&value)
Definition:
AddTagsToStreamRequest.h:136
Aws::Kinesis::Model::AddTagsToStreamRequest::WithStreamName
AddTagsToStreamRequest & WithStreamName(const char *value)
Definition:
AddTagsToStreamRequest.h:80
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition:
AddTagsToStreamRequest.h:131
Aws::Kinesis::Model::AddTagsToStreamRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition:
AddTagsToStreamRequest.h:91
AWSString.h
Aws::Kinesis::Model::AddTagsToStreamRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition:
AddTagsToStreamRequest.h:86
Aws::Kinesis::KinesisRequest
Definition:
KinesisRequest.h:17
Kinesis_EXPORTS.h
Aws::Kinesis::Model::AddTagsToStreamRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition:
AddTagsToStreamRequest.h:55
Aws
Definition:
AccessManagementClient.h:15
Aws::Kinesis::Model::AddTagsToStreamRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition:
AddTagsToStreamRequest.h:45
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition:
AddTagsToStreamRequest.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(Aws::String &&key, const char *value)
Definition:
AddTagsToStreamRequest.h:141
Aws::Kinesis::Model::AddTagsToStreamRequest
Definition:
AddTagsToStreamRequest.h:27
Aws::Kinesis::Model::AddTagsToStreamRequest::AddTags
AddTagsToStreamRequest & AddTags(const char *key, const char *value)
Definition:
AddTagsToStreamRequest.h:146
Aws::Kinesis::Model::AddTagsToStreamRequest::WithStreamName
AddTagsToStreamRequest & WithStreamName(Aws::String &&value)
Definition:
AddTagsToStreamRequest.h:75
AWSMap.h
Aws::Kinesis::Model::AddTagsToStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
AddTagsToStreamRequest.h:35
Aws::Kinesis::Model::AddTagsToStreamRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition:
AddTagsToStreamRequest.h:101
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition:
AWSMap.h:19
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences