AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
47 inline const DocumentReviewCommentType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const DocumentReviewCommentType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(DocumentReviewCommentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline DocumentReviewCommentSource& WithType(const DocumentReviewCommentType& value) { SetType(value); return *this;}
52 inline DocumentReviewCommentSource& WithType(DocumentReviewCommentType&& value) { SetType(std::move(value)); return *this;}
54
56
60 inline const Aws::String& GetContent() const{ return m_content; }
61 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
62 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
63 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
64 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
65 inline DocumentReviewCommentSource& WithContent(const Aws::String& value) { SetContent(value); return *this;}
66 inline DocumentReviewCommentSource& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
67 inline DocumentReviewCommentSource& WithContent(const char* value) { SetContent(value); return *this;}
69 private:
70
72 bool m_typeHasBeenSet = false;
73
74 Aws::String m_content;
75 bool m_contentHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SSM
80} // namespace Aws
AWS_SSM_API DocumentReviewCommentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API DocumentReviewCommentSource(Aws::Utils::Json::JsonView jsonValue)
void SetType(DocumentReviewCommentType &&value)
DocumentReviewCommentSource & WithContent(const char *value)
DocumentReviewCommentSource & WithType(const DocumentReviewCommentType &value)
DocumentReviewCommentSource & WithType(DocumentReviewCommentType &&value)
const DocumentReviewCommentType & GetType() const
DocumentReviewCommentSource & WithContent(const Aws::String &value)
DocumentReviewCommentSource & WithContent(Aws::String &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(const DocumentReviewCommentType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue