AWS SDK for C++
AWS SDK for C++ Version 1.11.719
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-ssm
include
aws
ssm
model
DocumentReviewCommentSource.h
1
6
#pragma once
7
#include <aws/core/utils/memory/stl/AWSString.h>
8
#include <aws/ssm/SSM_EXPORTS.h>
9
#include <aws/ssm/model/DocumentReviewCommentType.h>
10
11
#include <utility>
12
13
namespace
Aws
{
14
namespace
Utils {
15
namespace
Json {
16
class
JsonValue
;
17
class
JsonView;
18
}
// namespace Json
19
}
// namespace Utils
20
namespace
SSM {
21
namespace
Model {
22
29
class
DocumentReviewCommentSource
{
30
public
:
31
AWS_SSM_API
DocumentReviewCommentSource
() =
default
;
32
AWS_SSM_API
DocumentReviewCommentSource
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_SSM_API
DocumentReviewCommentSource
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
34
AWS_SSM_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
35
37
41
inline
DocumentReviewCommentType
GetType
()
const
{
return
m_type; }
42
inline
bool
TypeHasBeenSet
()
const
{
return
m_typeHasBeenSet; }
43
inline
void
SetType
(
DocumentReviewCommentType
value) {
44
m_typeHasBeenSet =
true
;
45
m_type = value;
46
}
47
inline
DocumentReviewCommentSource
&
WithType
(
DocumentReviewCommentType
value) {
48
SetType
(value);
49
return
*
this
;
50
}
52
54
58
inline
const
Aws::String
&
GetContent
()
const
{
return
m_content; }
59
inline
bool
ContentHasBeenSet
()
const
{
return
m_contentHasBeenSet; }
60
template
<
typename
ContentT = Aws::String>
61
void
SetContent
(ContentT&& value) {
62
m_contentHasBeenSet =
true
;
63
m_content = std::forward<ContentT>(value);
64
}
65
template
<
typename
ContentT = Aws::String>
66
DocumentReviewCommentSource
&
WithContent
(ContentT&& value) {
67
SetContent
(std::forward<ContentT>(value));
68
return
*
this
;
69
}
71
private
:
72
DocumentReviewCommentType
m_type{
DocumentReviewCommentType::NOT_SET
};
73
74
Aws::String
m_content;
75
bool
m_typeHasBeenSet =
false
;
76
bool
m_contentHasBeenSet =
false
;
77
};
78
79
}
// namespace Model
80
}
// namespace SSM
81
}
// namespace Aws
Aws::SSM::Model::DocumentReviewCommentSource
Definition
DocumentReviewCommentSource.h:29
Aws::SSM::Model::DocumentReviewCommentSource::operator=
AWS_SSM_API DocumentReviewCommentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::DocumentReviewCommentSource::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition
DocumentReviewCommentSource.h:59
Aws::SSM::Model::DocumentReviewCommentSource::DocumentReviewCommentSource
AWS_SSM_API DocumentReviewCommentSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SSM::Model::DocumentReviewCommentSource::SetType
void SetType(DocumentReviewCommentType value)
Definition
DocumentReviewCommentSource.h:43
Aws::SSM::Model::DocumentReviewCommentSource::WithContent
DocumentReviewCommentSource & WithContent(ContentT &&value)
Definition
DocumentReviewCommentSource.h:66
Aws::SSM::Model::DocumentReviewCommentSource::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition
DocumentReviewCommentSource.h:42
Aws::SSM::Model::DocumentReviewCommentSource::SetContent
void SetContent(ContentT &&value)
Definition
DocumentReviewCommentSource.h:61
Aws::SSM::Model::DocumentReviewCommentSource::Jsonize
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::SSM::Model::DocumentReviewCommentSource::DocumentReviewCommentSource
AWS_SSM_API DocumentReviewCommentSource()=default
Aws::SSM::Model::DocumentReviewCommentSource::GetType
DocumentReviewCommentType GetType() const
Definition
DocumentReviewCommentSource.h:41
Aws::SSM::Model::DocumentReviewCommentSource::WithType
DocumentReviewCommentSource & WithType(DocumentReviewCommentType value)
Definition
DocumentReviewCommentSource.h:47
Aws::SSM::Model::DocumentReviewCommentSource::GetContent
const Aws::String & GetContent() const
Definition
DocumentReviewCommentSource.h:58
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws::SSM::Model::DocumentReviewCommentType
DocumentReviewCommentType
Definition
DocumentReviewCommentType.h:13
Aws::SSM::Model::DocumentReviewCommentType::NOT_SET
@ NOT_SET
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.9.8
Privacy |
Site terms |
Cookie preferences