AWS SDK for C++
AWS SDK for C++ Version 1.11.929
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-awstransfer
include
aws
awstransfer
model
CustomHttpHeader.h
1
6
#pragma once
7
#include <aws/awstransfer/Transfer_EXPORTS.h>
8
#include <aws/core/utils/memory/stl/AWSString.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
Transfer {
20
namespace
Model {
21
28
class
CustomHttpHeader
{
29
public
:
30
AWS_TRANSFER_API
CustomHttpHeader
() =
default
;
31
AWS_TRANSFER_API
CustomHttpHeader
(
Aws::Utils::Json::JsonView
jsonValue);
32
AWS_TRANSFER_API
CustomHttpHeader
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_TRANSFER_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
34
36
39
inline
const
Aws::String
&
GetKey
()
const
{
return
m_key; }
40
inline
bool
KeyHasBeenSet
()
const
{
return
m_keyHasBeenSet; }
41
template
<
typename
KeyT = Aws::String>
42
void
SetKey
(KeyT&& value) {
43
m_keyHasBeenSet =
true
;
44
m_key = std::forward<KeyT>(value);
45
}
46
template
<
typename
KeyT = Aws::String>
47
CustomHttpHeader
&
WithKey
(KeyT&& value) {
48
SetKey
(std::forward<KeyT>(value));
49
return
*
this
;
50
}
52
54
57
inline
const
Aws::String
&
GetValue
()
const
{
return
m_value; }
58
inline
bool
ValueHasBeenSet
()
const
{
return
m_valueHasBeenSet; }
59
template
<
typename
ValueT = Aws::String>
60
void
SetValue
(ValueT&& value) {
61
m_valueHasBeenSet =
true
;
62
m_value = std::forward<ValueT>(value);
63
}
64
template
<
typename
ValueT = Aws::String>
65
CustomHttpHeader
&
WithValue
(ValueT&& value) {
66
SetValue
(std::forward<ValueT>(value));
67
return
*
this
;
68
}
70
private
:
71
Aws::String
m_key;
72
73
Aws::String
m_value;
74
bool
m_keyHasBeenSet =
false
;
75
bool
m_valueHasBeenSet =
false
;
76
};
77
78
}
// namespace Model
79
}
// namespace Transfer
80
}
// namespace Aws
Aws::Transfer::Model::CustomHttpHeader
Definition
CustomHttpHeader.h:28
Aws::Transfer::Model::CustomHttpHeader::WithValue
CustomHttpHeader & WithValue(ValueT &&value)
Definition
CustomHttpHeader.h:65
Aws::Transfer::Model::CustomHttpHeader::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition
CustomHttpHeader.h:58
Aws::Transfer::Model::CustomHttpHeader::operator=
AWS_TRANSFER_API CustomHttpHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Transfer::Model::CustomHttpHeader::Jsonize
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Transfer::Model::CustomHttpHeader::WithKey
CustomHttpHeader & WithKey(KeyT &&value)
Definition
CustomHttpHeader.h:47
Aws::Transfer::Model::CustomHttpHeader::CustomHttpHeader
AWS_TRANSFER_API CustomHttpHeader()=default
Aws::Transfer::Model::CustomHttpHeader::CustomHttpHeader
AWS_TRANSFER_API CustomHttpHeader(Aws::Utils::Json::JsonView jsonValue)
Aws::Transfer::Model::CustomHttpHeader::SetValue
void SetValue(ValueT &&value)
Definition
CustomHttpHeader.h:60
Aws::Transfer::Model::CustomHttpHeader::SetKey
void SetKey(KeyT &&value)
Definition
CustomHttpHeader.h:42
Aws::Transfer::Model::CustomHttpHeader::GetKey
const Aws::String & GetKey() const
Definition
CustomHttpHeader.h:39
Aws::Transfer::Model::CustomHttpHeader::GetValue
const Aws::String & GetValue() const
Definition
CustomHttpHeader.h:57
Aws::Transfer::Model::CustomHttpHeader::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition
CustomHttpHeader.h:40
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