AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
GetContactInformationResult.h
1
6#pragma once
7#include <aws/account/Account_EXPORTS.h>
8#include <aws/account/model/ContactInformation.h>
9#include <aws/account/model/PhoneNumberVerificationStatus.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Account {
25namespace Model {
27 public:
28 AWS_ACCOUNT_API GetContactInformationResult() = default;
31
33
37 inline const ContactInformation& GetContactInformation() const { return m_contactInformation; }
38 template <typename ContactInformationT = ContactInformation>
39 void SetContactInformation(ContactInformationT&& value) {
40 m_contactInformationHasBeenSet = true;
41 m_contactInformation = std::forward<ContactInformationT>(value);
42 }
43 template <typename ContactInformationT = ContactInformation>
45 SetContactInformation(std::forward<ContactInformationT>(value));
46 return *this;
47 }
49
51
60 inline PhoneNumberVerificationStatus GetVerificationStatus() const { return m_verificationStatus; }
62 m_verificationStatusHasBeenSet = true;
63 m_verificationStatus = value;
64 }
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
86
87 private:
88 ContactInformation m_contactInformation;
89
91
92 Aws::String m_requestId;
93 Aws::Http::HttpResponseCode m_HttpResponseCode;
94 bool m_contactInformationHasBeenSet = false;
95 bool m_verificationStatusHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Account
101} // namespace Aws
void SetVerificationStatus(PhoneNumberVerificationStatus value)
AWS_ACCOUNT_API GetContactInformationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PhoneNumberVerificationStatus GetVerificationStatus() const
AWS_ACCOUNT_API GetContactInformationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactInformationResult & WithVerificationStatus(PhoneNumberVerificationStatus value)
GetContactInformationResult & WithContactInformation(ContactInformationT &&value)
AWS_ACCOUNT_API GetContactInformationResult()=default
GetContactInformationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue