AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdatePhoneNumberRequestItem.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/PhoneNumberProductType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Chime {
21namespace Model {
22
31 public:
32 AWS_CHIME_API UpdatePhoneNumberRequestItem() = default;
35 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetPhoneNumberId() const { return m_phoneNumberId; }
42 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
43 template <typename PhoneNumberIdT = Aws::String>
44 void SetPhoneNumberId(PhoneNumberIdT&& value) {
45 m_phoneNumberIdHasBeenSet = true;
46 m_phoneNumberId = std::forward<PhoneNumberIdT>(value);
47 }
48 template <typename PhoneNumberIdT = Aws::String>
50 SetPhoneNumberId(std::forward<PhoneNumberIdT>(value));
51 return *this;
52 }
54
56
59 inline PhoneNumberProductType GetProductType() const { return m_productType; }
60 inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
62 m_productTypeHasBeenSet = true;
63 m_productType = value;
64 }
66 SetProductType(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetCallingName() const { return m_callingName; }
76 inline bool CallingNameHasBeenSet() const { return m_callingNameHasBeenSet; }
77 template <typename CallingNameT = Aws::String>
78 void SetCallingName(CallingNameT&& value) {
79 m_callingNameHasBeenSet = true;
80 m_callingName = std::forward<CallingNameT>(value);
81 }
82 template <typename CallingNameT = Aws::String>
84 SetCallingName(std::forward<CallingNameT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_phoneNumberId;
90
92
93 Aws::String m_callingName;
94 bool m_phoneNumberIdHasBeenSet = false;
95 bool m_productTypeHasBeenSet = false;
96 bool m_callingNameHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Chime
101} // namespace Aws
AWS_CHIME_API UpdatePhoneNumberRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API UpdatePhoneNumberRequestItem()=default
UpdatePhoneNumberRequestItem & WithProductType(PhoneNumberProductType value)
AWS_CHIME_API UpdatePhoneNumberRequestItem(Aws::Utils::Json::JsonView jsonValue)
UpdatePhoneNumberRequestItem & WithCallingName(CallingNameT &&value)
UpdatePhoneNumberRequestItem & WithPhoneNumberId(PhoneNumberIdT &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue