AWS SDK for C++
AWS SDK for C++ Version 1.11.930
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-iot
include
aws
iot
model
HttpActionHeader.h
1
6
#pragma once
7
#include <aws/core/utils/memory/stl/AWSString.h>
8
#include <aws/iot/IoT_EXPORTS.h>
9
10
#include <utility>
11
12
namespace
Aws
{
13
namespace
Utils {
14
namespace
Json {
15
class
JsonValue
;
16
class
JsonView;
17
}
// namespace Json
18
}
// namespace Utils
19
namespace
IoT {
20
namespace
Model {
21
27
class
HttpActionHeader
{
28
public
:
29
AWS_IOT_API
HttpActionHeader
() =
default
;
30
AWS_IOT_API
HttpActionHeader
(
Aws::Utils::Json::JsonView
jsonValue);
31
AWS_IOT_API
HttpActionHeader
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
32
AWS_IOT_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
33
35
38
inline
const
Aws::String
&
GetKey
()
const
{
return
m_key; }
39
inline
bool
KeyHasBeenSet
()
const
{
return
m_keyHasBeenSet; }
40
template
<
typename
KeyT = Aws::String>
41
void
SetKey
(KeyT&& value) {
42
m_keyHasBeenSet =
true
;
43
m_key = std::forward<KeyT>(value);
44
}
45
template
<
typename
KeyT = Aws::String>
46
HttpActionHeader
&
WithKey
(KeyT&& value) {
47
SetKey
(std::forward<KeyT>(value));
48
return
*
this
;
49
}
51
53
56
inline
const
Aws::String
&
GetValue
()
const
{
return
m_value; }
57
inline
bool
ValueHasBeenSet
()
const
{
return
m_valueHasBeenSet; }
58
template
<
typename
ValueT = Aws::String>
59
void
SetValue
(ValueT&& value) {
60
m_valueHasBeenSet =
true
;
61
m_value = std::forward<ValueT>(value);
62
}
63
template
<
typename
ValueT = Aws::String>
64
HttpActionHeader
&
WithValue
(ValueT&& value) {
65
SetValue
(std::forward<ValueT>(value));
66
return
*
this
;
67
}
69
private
:
70
Aws::String
m_key;
71
72
Aws::String
m_value;
73
bool
m_keyHasBeenSet =
false
;
74
bool
m_valueHasBeenSet =
false
;
75
};
76
77
}
// namespace Model
78
}
// namespace IoT
79
}
// namespace Aws
Aws::IoT::Model::HttpActionHeader
Definition
HttpActionHeader.h:27
Aws::IoT::Model::HttpActionHeader::GetKey
const Aws::String & GetKey() const
Definition
HttpActionHeader.h:38
Aws::IoT::Model::HttpActionHeader::GetValue
const Aws::String & GetValue() const
Definition
HttpActionHeader.h:56
Aws::IoT::Model::HttpActionHeader::HttpActionHeader
AWS_IOT_API HttpActionHeader()=default
Aws::IoT::Model::HttpActionHeader::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition
HttpActionHeader.h:39
Aws::IoT::Model::HttpActionHeader::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition
HttpActionHeader.h:57
Aws::IoT::Model::HttpActionHeader::HttpActionHeader
AWS_IOT_API HttpActionHeader(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::HttpActionHeader::WithValue
HttpActionHeader & WithValue(ValueT &&value)
Definition
HttpActionHeader.h:64
Aws::IoT::Model::HttpActionHeader::Jsonize
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::HttpActionHeader::WithKey
HttpActionHeader & WithKey(KeyT &&value)
Definition
HttpActionHeader.h:46
Aws::IoT::Model::HttpActionHeader::SetValue
void SetValue(ValueT &&value)
Definition
HttpActionHeader.h:59
Aws::IoT::Model::HttpActionHeader::SetKey
void SetKey(KeyT &&value)
Definition
HttpActionHeader.h:41
Aws::IoT::Model::HttpActionHeader::operator=
AWS_IOT_API HttpActionHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
smithy::client::JsonValue
Aws::Utils::Json::JsonValue JsonValue
Generated by
1.12.0
Privacy |
Site terms |
Cookie preferences