AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetPhoneNumberSettingsResult.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Chime {
24namespace Model {
26 public:
27 AWS_CHIME_API GetPhoneNumberSettingsResult() = default;
30
32
35 inline const Aws::String& GetCallingName() const { return m_callingName; }
36 template <typename CallingNameT = Aws::String>
37 void SetCallingName(CallingNameT&& value) {
38 m_callingNameHasBeenSet = true;
39 m_callingName = std::forward<CallingNameT>(value);
40 }
41 template <typename CallingNameT = Aws::String>
43 SetCallingName(std::forward<CallingNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Utils::DateTime& GetCallingNameUpdatedTimestamp() const { return m_callingNameUpdatedTimestamp; }
53 template <typename CallingNameUpdatedTimestampT = Aws::Utils::DateTime>
54 void SetCallingNameUpdatedTimestamp(CallingNameUpdatedTimestampT&& value) {
55 m_callingNameUpdatedTimestampHasBeenSet = true;
56 m_callingNameUpdatedTimestamp = std::forward<CallingNameUpdatedTimestampT>(value);
57 }
58 template <typename CallingNameUpdatedTimestampT = Aws::Utils::DateTime>
59 GetPhoneNumberSettingsResult& WithCallingNameUpdatedTimestamp(CallingNameUpdatedTimestampT&& value) {
60 SetCallingNameUpdatedTimestamp(std::forward<CallingNameUpdatedTimestampT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_callingName;
83
84 Aws::Utils::DateTime m_callingNameUpdatedTimestamp{};
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_callingNameHasBeenSet = false;
89 bool m_callingNameUpdatedTimestampHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Chime
95} // namespace Aws
AWS_CHIME_API GetPhoneNumberSettingsResult()=default
GetPhoneNumberSettingsResult & WithCallingNameUpdatedTimestamp(CallingNameUpdatedTimestampT &&value)
AWS_CHIME_API GetPhoneNumberSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CHIME_API GetPhoneNumberSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPhoneNumberSettingsResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCallingNameUpdatedTimestamp() const
void SetCallingNameUpdatedTimestamp(CallingNameUpdatedTimestampT &&value)
GetPhoneNumberSettingsResult & WithCallingName(CallingNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue