AWS SDK for C++
AWS SDK for C++ Version 1.11.935
Main Page
Related Pages
Namespaces
Classes
Modules
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-connectcases
include
aws
connectcases
model
CommentUpdateContent.h
1
6
#pragma once
7
#include <aws/connectcases/ConnectCases_EXPORTS.h>
8
#include <aws/connectcases/model/CommentBodyTextType.h>
9
#include <aws/core/utils/memory/stl/AWSString.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
ConnectCases {
21
namespace
Model {
22
29
class
CommentUpdateContent
{
30
public
:
31
AWS_CONNECTCASES_API
CommentUpdateContent
() =
default
;
32
AWS_CONNECTCASES_API
CommentUpdateContent
(
Aws::Utils::Json::JsonView
jsonValue);
33
AWS_CONNECTCASES_API
CommentUpdateContent
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
34
AWS_CONNECTCASES_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
35
37
40
inline
const
Aws::String
&
GetBody
()
const
{
return
m_body; }
41
inline
bool
BodyHasBeenSet
()
const
{
return
m_bodyHasBeenSet; }
42
template
<
typename
BodyT = Aws::String>
43
void
SetBody
(BodyT&& value) {
44
m_bodyHasBeenSet =
true
;
45
m_body = std::forward<BodyT>(value);
46
}
47
template
<
typename
BodyT = Aws::String>
48
CommentUpdateContent
&
WithBody
(BodyT&& value) {
49
SetBody
(std::forward<BodyT>(value));
50
return
*
this
;
51
}
53
55
58
inline
CommentBodyTextType
GetContentType
()
const
{
return
m_contentType; }
59
inline
bool
ContentTypeHasBeenSet
()
const
{
return
m_contentTypeHasBeenSet; }
60
inline
void
SetContentType
(
CommentBodyTextType
value) {
61
m_contentTypeHasBeenSet =
true
;
62
m_contentType = value;
63
}
64
inline
CommentUpdateContent
&
WithContentType
(
CommentBodyTextType
value) {
65
SetContentType
(value);
66
return
*
this
;
67
}
69
private
:
70
Aws::String
m_body;
71
72
CommentBodyTextType
m_contentType{
CommentBodyTextType::NOT_SET
};
73
bool
m_bodyHasBeenSet =
false
;
74
bool
m_contentTypeHasBeenSet =
false
;
75
};
76
77
}
// namespace Model
78
}
// namespace ConnectCases
79
}
// namespace Aws
Aws::ConnectCases::Model::CommentUpdateContent
Definition
CommentUpdateContent.h:29
Aws::ConnectCases::Model::CommentUpdateContent::GetContentType
CommentBodyTextType GetContentType() const
Definition
CommentUpdateContent.h:58
Aws::ConnectCases::Model::CommentUpdateContent::ContentTypeHasBeenSet
bool ContentTypeHasBeenSet() const
Definition
CommentUpdateContent.h:59
Aws::ConnectCases::Model::CommentUpdateContent::WithContentType
CommentUpdateContent & WithContentType(CommentBodyTextType value)
Definition
CommentUpdateContent.h:64
Aws::ConnectCases::Model::CommentUpdateContent::GetBody
const Aws::String & GetBody() const
Definition
CommentUpdateContent.h:40
Aws::ConnectCases::Model::CommentUpdateContent::CommentUpdateContent
AWS_CONNECTCASES_API CommentUpdateContent()=default
Aws::ConnectCases::Model::CommentUpdateContent::Jsonize
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::ConnectCases::Model::CommentUpdateContent::WithBody
CommentUpdateContent & WithBody(BodyT &&value)
Definition
CommentUpdateContent.h:48
Aws::ConnectCases::Model::CommentUpdateContent::SetContentType
void SetContentType(CommentBodyTextType value)
Definition
CommentUpdateContent.h:60
Aws::ConnectCases::Model::CommentUpdateContent::SetBody
void SetBody(BodyT &&value)
Definition
CommentUpdateContent.h:43
Aws::ConnectCases::Model::CommentUpdateContent::BodyHasBeenSet
bool BodyHasBeenSet() const
Definition
CommentUpdateContent.h:41
Aws::ConnectCases::Model::CommentUpdateContent::operator=
AWS_CONNECTCASES_API CommentUpdateContent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ConnectCases::Model::CommentUpdateContent::CommentUpdateContent
AWS_CONNECTCASES_API CommentUpdateContent(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws::ConnectCases::Model::CommentBodyTextType
CommentBodyTextType
Definition
CommentBodyTextType.h:13
Aws::ConnectCases::Model::CommentBodyTextType::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.12.0
Privacy |
Site terms |
Cookie preferences