AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostContactSummary.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLens_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect-contact-lens/model/PostContactSummaryStatus.h>
10#include <aws/connect-contact-lens/model/PostContactSummaryFailureCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectContactLens
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTCONTACTLENS_API PostContactSummary();
37 AWS_CONNECTCONTACTLENS_API PostContactSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCONTACTLENS_API PostContactSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetContent() const{ return m_content; }
47 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
48 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
49 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
50 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
51 inline PostContactSummary& WithContent(const Aws::String& value) { SetContent(value); return *this;}
52 inline PostContactSummary& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
53 inline PostContactSummary& WithContent(const char* value) { SetContent(value); return *this;}
55
57
60 inline const PostContactSummaryStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const PostContactSummaryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(PostContactSummaryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline PostContactSummary& WithStatus(const PostContactSummaryStatus& value) { SetStatus(value); return *this;}
65 inline PostContactSummary& WithStatus(PostContactSummaryStatus&& value) { SetStatus(std::move(value)); return *this;}
67
69
83 inline const PostContactSummaryFailureCode& GetFailureCode() const{ return m_failureCode; }
84 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
85 inline void SetFailureCode(const PostContactSummaryFailureCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
86 inline void SetFailureCode(PostContactSummaryFailureCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
88 inline PostContactSummary& WithFailureCode(PostContactSummaryFailureCode&& value) { SetFailureCode(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_content;
93 bool m_contentHasBeenSet = false;
94
96 bool m_statusHasBeenSet = false;
97
99 bool m_failureCodeHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ConnectContactLens
104} // namespace Aws
void SetContent(Aws::String &&value)
PostContactSummary & WithContent(const char *value)
PostContactSummary & WithFailureCode(const PostContactSummaryFailureCode &value)
PostContactSummary & WithContent(const Aws::String &value)
const PostContactSummaryStatus & GetStatus() const
bool FailureCodeHasBeenSet() const
void SetContent(const char *value)
PostContactSummary & WithStatus(const PostContactSummaryStatus &value)
void SetStatus(const PostContactSummaryStatus &value)
bool StatusHasBeenSet() const
PostContactSummary & WithFailureCode(PostContactSummaryFailureCode &&value)
void SetContent(const Aws::String &value)
bool ContentHasBeenSet() const
void SetStatus(PostContactSummaryStatus &&value)
AWS_CONNECTCONTACTLENS_API Aws::Utils::Json::JsonValue Jsonize() const
const PostContactSummaryFailureCode & GetFailureCode() const
AWS_CONNECTCONTACTLENS_API PostContactSummary()
void SetFailureCode(PostContactSummaryFailureCode &&value)
PostContactSummary & WithStatus(PostContactSummaryStatus &&value)
AWS_CONNECTCONTACTLENS_API PostContactSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCode(const PostContactSummaryFailureCode &value)
PostContactSummary & WithContent(Aws::String &&value)
const Aws::String & GetContent() const
AWS_CONNECTCONTACTLENS_API PostContactSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue