AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PhoneNumberStatus.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PhoneNumberWorkflowStatus.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 Connect
23{
24namespace Model
25{
26
57 {
58 public:
59 AWS_CONNECT_API PhoneNumberStatus();
62 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
63
64
66
69 inline const PhoneNumberWorkflowStatus& GetStatus() const{ return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(const PhoneNumberWorkflowStatus& value) { m_statusHasBeenSet = true; m_status = value; }
72 inline void SetStatus(PhoneNumberWorkflowStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
73 inline PhoneNumberStatus& WithStatus(const PhoneNumberWorkflowStatus& value) { SetStatus(value); return *this;}
74 inline PhoneNumberStatus& WithStatus(PhoneNumberWorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetMessage() const{ return m_message; }
82 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
83 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
84 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
85 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
86 inline PhoneNumberStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
87 inline PhoneNumberStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
88 inline PhoneNumberStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
90 private:
91
93 bool m_statusHasBeenSet = false;
94
95 Aws::String m_message;
96 bool m_messageHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Connect
101} // namespace Aws
void SetStatus(const PhoneNumberWorkflowStatus &value)
PhoneNumberStatus & WithMessage(Aws::String &&value)
const Aws::String & GetMessage() const
PhoneNumberStatus & WithMessage(const char *value)
const PhoneNumberWorkflowStatus & GetStatus() const
void SetMessage(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API PhoneNumberStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
PhoneNumberStatus & WithStatus(const PhoneNumberWorkflowStatus &value)
AWS_CONNECT_API PhoneNumberStatus(Aws::Utils::Json::JsonView jsonValue)
PhoneNumberStatus & WithMessage(const Aws::String &value)
void SetStatus(PhoneNumberWorkflowStatus &&value)
PhoneNumberStatus & WithStatus(PhoneNumberWorkflowStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue