AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
50 inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
51 inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
52 inline UpdatePhoneNumberRequestItem& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
53 inline UpdatePhoneNumberRequestItem& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
54 inline UpdatePhoneNumberRequestItem& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
56
58
61 inline const PhoneNumberProductType& GetProductType() const{ return m_productType; }
62 inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
63 inline void SetProductType(const PhoneNumberProductType& value) { m_productTypeHasBeenSet = true; m_productType = value; }
64 inline void SetProductType(PhoneNumberProductType&& value) { m_productTypeHasBeenSet = true; m_productType = std::move(value); }
66 inline UpdatePhoneNumberRequestItem& WithProductType(PhoneNumberProductType&& value) { SetProductType(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetCallingName() const{ return m_callingName; }
74 inline bool CallingNameHasBeenSet() const { return m_callingNameHasBeenSet; }
75 inline void SetCallingName(const Aws::String& value) { m_callingNameHasBeenSet = true; m_callingName = value; }
76 inline void SetCallingName(Aws::String&& value) { m_callingNameHasBeenSet = true; m_callingName = std::move(value); }
77 inline void SetCallingName(const char* value) { m_callingNameHasBeenSet = true; m_callingName.assign(value); }
78 inline UpdatePhoneNumberRequestItem& WithCallingName(const Aws::String& value) { SetCallingName(value); return *this;}
79 inline UpdatePhoneNumberRequestItem& WithCallingName(Aws::String&& value) { SetCallingName(std::move(value)); return *this;}
80 inline UpdatePhoneNumberRequestItem& WithCallingName(const char* value) { SetCallingName(value); return *this;}
82 private:
83
84 Aws::String m_phoneNumberId;
85 bool m_phoneNumberIdHasBeenSet = false;
86
87 PhoneNumberProductType m_productType;
88 bool m_productTypeHasBeenSet = false;
89
90 Aws::String m_callingName;
91 bool m_callingNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Chime
96} // namespace Aws
UpdatePhoneNumberRequestItem & WithCallingName(const Aws::String &value)
UpdatePhoneNumberRequestItem & WithProductType(PhoneNumberProductType &&value)
UpdatePhoneNumberRequestItem & WithPhoneNumberId(const Aws::String &value)
AWS_CHIME_API UpdatePhoneNumberRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdatePhoneNumberRequestItem & WithPhoneNumberId(const char *value)
AWS_CHIME_API UpdatePhoneNumberRequestItem(Aws::Utils::Json::JsonView jsonValue)
UpdatePhoneNumberRequestItem & WithCallingName(Aws::String &&value)
UpdatePhoneNumberRequestItem & WithProductType(const PhoneNumberProductType &value)
void SetProductType(const PhoneNumberProductType &value)
const PhoneNumberProductType & GetProductType() const
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
UpdatePhoneNumberRequestItem & WithPhoneNumberId(Aws::String &&value)
UpdatePhoneNumberRequestItem & WithCallingName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue