AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrderedPhoneNumber.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/OrderedPhoneNumberStatus.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 Chime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CHIME_API OrderedPhoneNumber();
39 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetE164PhoneNumber() const{ return m_e164PhoneNumber; }
47 inline bool E164PhoneNumberHasBeenSet() const { return m_e164PhoneNumberHasBeenSet; }
48 inline void SetE164PhoneNumber(const Aws::String& value) { m_e164PhoneNumberHasBeenSet = true; m_e164PhoneNumber = value; }
49 inline void SetE164PhoneNumber(Aws::String&& value) { m_e164PhoneNumberHasBeenSet = true; m_e164PhoneNumber = std::move(value); }
50 inline void SetE164PhoneNumber(const char* value) { m_e164PhoneNumberHasBeenSet = true; m_e164PhoneNumber.assign(value); }
51 inline OrderedPhoneNumber& WithE164PhoneNumber(const Aws::String& value) { SetE164PhoneNumber(value); return *this;}
52 inline OrderedPhoneNumber& WithE164PhoneNumber(Aws::String&& value) { SetE164PhoneNumber(std::move(value)); return *this;}
53 inline OrderedPhoneNumber& WithE164PhoneNumber(const char* value) { SetE164PhoneNumber(value); return *this;}
55
57
60 inline const OrderedPhoneNumberStatus& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const OrderedPhoneNumberStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(OrderedPhoneNumberStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline OrderedPhoneNumber& WithStatus(const OrderedPhoneNumberStatus& value) { SetStatus(value); return *this;}
65 inline OrderedPhoneNumber& WithStatus(OrderedPhoneNumberStatus&& value) { SetStatus(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_e164PhoneNumber;
70 bool m_e164PhoneNumberHasBeenSet = false;
71
73 bool m_statusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Chime
78} // namespace Aws
void SetE164PhoneNumber(Aws::String &&value)
OrderedPhoneNumber & WithE164PhoneNumber(const char *value)
AWS_CHIME_API OrderedPhoneNumber(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetE164PhoneNumber(const Aws::String &value)
OrderedPhoneNumber & WithStatus(const OrderedPhoneNumberStatus &value)
const Aws::String & GetE164PhoneNumber() const
const OrderedPhoneNumberStatus & GetStatus() const
OrderedPhoneNumber & WithE164PhoneNumber(const Aws::String &value)
void SetStatus(const OrderedPhoneNumberStatus &value)
OrderedPhoneNumber & WithE164PhoneNumber(Aws::String &&value)
OrderedPhoneNumber & WithStatus(OrderedPhoneNumberStatus &&value)
AWS_CHIME_API OrderedPhoneNumber & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(OrderedPhoneNumberStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue