AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
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
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
30 public:
31 AWS_SSM_API DocumentReviewCommentSource() = default;
35
37
41 inline DocumentReviewCommentType GetType() const { return m_type; }
42 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 m_typeHasBeenSet = true;
45 m_type = value;
46 }
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>
67 SetContent(std::forward<ContentT>(value));
68 return *this;
69 }
71 private:
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_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