AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetPhoneNumberSettingsResult.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Chime
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CHIME_API GetPhoneNumberSettingsResult() = default;
34
35
37
40 inline const Aws::String& GetCallingName() const { return m_callingName; }
41 template<typename CallingNameT = Aws::String>
42 void SetCallingName(CallingNameT&& value) { m_callingNameHasBeenSet = true; m_callingName = std::forward<CallingNameT>(value); }
43 template<typename CallingNameT = Aws::String>
44 GetPhoneNumberSettingsResult& WithCallingName(CallingNameT&& value) { SetCallingName(std::forward<CallingNameT>(value)); return *this;}
46
48
51 inline const Aws::Utils::DateTime& GetCallingNameUpdatedTimestamp() const { return m_callingNameUpdatedTimestamp; }
52 template<typename CallingNameUpdatedTimestampT = Aws::Utils::DateTime>
53 void SetCallingNameUpdatedTimestamp(CallingNameUpdatedTimestampT&& value) { m_callingNameUpdatedTimestampHasBeenSet = true; m_callingNameUpdatedTimestamp = std::forward<CallingNameUpdatedTimestampT>(value); }
54 template<typename CallingNameUpdatedTimestampT = Aws::Utils::DateTime>
55 GetPhoneNumberSettingsResult& WithCallingNameUpdatedTimestamp(CallingNameUpdatedTimestampT&& value) { SetCallingNameUpdatedTimestamp(std::forward<CallingNameUpdatedTimestampT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 GetPhoneNumberSettingsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_callingName;
69 bool m_callingNameHasBeenSet = false;
70
71 Aws::Utils::DateTime m_callingNameUpdatedTimestamp{};
72 bool m_callingNameUpdatedTimestampHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Chime
80} // 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