AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PhoneNumberT = Aws::String>
60 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
61 template<typename PhoneNumberT = Aws::String>
62 SMSSandboxPhoneNumber& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
64
66
69 inline SMSSandboxPhoneNumberVerificationStatus GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(SMSSandboxPhoneNumberVerificationStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 private:
75
76 Aws::String m_phoneNumber;
77 bool m_phoneNumberHasBeenSet = false;
78
80 bool m_statusHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SNS
85} // namespace Aws
void SetStatus(SMSSandboxPhoneNumberVerificationStatus value)
AWS_SNS_API SMSSandboxPhoneNumber()=default
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SMSSandboxPhoneNumberVerificationStatus GetStatus() const
AWS_SNS_API SMSSandboxPhoneNumber(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SNS_API SMSSandboxPhoneNumber & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SMSSandboxPhoneNumber & WithStatus(SMSSandboxPhoneNumberVerificationStatus value)
SMSSandboxPhoneNumber & WithPhoneNumber(PhoneNumberT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream