AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DocumentReviewCommentSource.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/DocumentReviewCommentType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSM_API DocumentReviewCommentSource() = default;
40
41
43
47 inline DocumentReviewCommentType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(DocumentReviewCommentType value) { m_typeHasBeenSet = true; m_type = value; }
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) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
62 template<typename ContentT = Aws::String>
63 DocumentReviewCommentSource& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_content;
71 bool m_contentHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SSM
76} // namespace Aws
AWS_SSM_API DocumentReviewCommentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API DocumentReviewCommentSource(Aws::Utils::Json::JsonView jsonValue)
DocumentReviewCommentSource & WithContent(ContentT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API DocumentReviewCommentSource()=default
DocumentReviewCommentSource & WithType(DocumentReviewCommentType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue