AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SMSSandboxPhoneNumber.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sns/model/SMSSandboxPhoneNumberVerificationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SNS
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_SNS_API SMSSandboxPhoneNumber();
48
49 AWS_SNS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50 AWS_SNS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
51
52
54
57 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
58 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
59 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
60 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
61 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
62 inline SMSSandboxPhoneNumber& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
63 inline SMSSandboxPhoneNumber& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
64 inline SMSSandboxPhoneNumber& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
66
68
71 inline const SMSSandboxPhoneNumberVerificationStatus& GetStatus() const{ return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(const SMSSandboxPhoneNumberVerificationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
74 inline void SetStatus(SMSSandboxPhoneNumberVerificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline SMSSandboxPhoneNumber& WithStatus(SMSSandboxPhoneNumberVerificationStatus&& value) { SetStatus(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_phoneNumber;
81 bool m_phoneNumberHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SNS
89} // namespace Aws
void SetPhoneNumber(const Aws::String &value)
SMSSandboxPhoneNumber & WithStatus(SMSSandboxPhoneNumberVerificationStatus &&value)
SMSSandboxPhoneNumber & WithStatus(const SMSSandboxPhoneNumberVerificationStatus &value)
void SetStatus(const SMSSandboxPhoneNumberVerificationStatus &value)
SMSSandboxPhoneNumber & WithPhoneNumber(Aws::String &&value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SNS_API SMSSandboxPhoneNumber(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SNS_API SMSSandboxPhoneNumber & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const SMSSandboxPhoneNumberVerificationStatus & GetStatus() const
void SetStatus(SMSSandboxPhoneNumberVerificationStatus &&value)
SMSSandboxPhoneNumber & WithPhoneNumber(const char *value)
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SMSSandboxPhoneNumber & WithPhoneNumber(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream