AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdatePhoneNumberRequestItem.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/PhoneNumberProductType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Chime
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CHIME_API UpdatePhoneNumberRequestItem() = default;
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetPhoneNumberId() const { return m_phoneNumberId; }
48 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
49 template<typename PhoneNumberIdT = Aws::String>
50 void SetPhoneNumberId(PhoneNumberIdT&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::forward<PhoneNumberIdT>(value); }
51 template<typename PhoneNumberIdT = Aws::String>
52 UpdatePhoneNumberRequestItem& WithPhoneNumberId(PhoneNumberIdT&& value) { SetPhoneNumberId(std::forward<PhoneNumberIdT>(value)); return *this;}
54
56
59 inline PhoneNumberProductType GetProductType() const { return m_productType; }
60 inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
61 inline void SetProductType(PhoneNumberProductType value) { m_productTypeHasBeenSet = true; m_productType = value; }
64
66
69 inline const Aws::String& GetCallingName() const { return m_callingName; }
70 inline bool CallingNameHasBeenSet() const { return m_callingNameHasBeenSet; }
71 template<typename CallingNameT = Aws::String>
72 void SetCallingName(CallingNameT&& value) { m_callingNameHasBeenSet = true; m_callingName = std::forward<CallingNameT>(value); }
73 template<typename CallingNameT = Aws::String>
74 UpdatePhoneNumberRequestItem& WithCallingName(CallingNameT&& value) { SetCallingName(std::forward<CallingNameT>(value)); return *this;}
76 private:
77
78 Aws::String m_phoneNumberId;
79 bool m_phoneNumberIdHasBeenSet = false;
80
82 bool m_productTypeHasBeenSet = false;
83
84 Aws::String m_callingName;
85 bool m_callingNameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Chime
90} // 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