AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
UpdatePhoneNumberMetadataRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API UpdatePhoneNumberMetadataRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdatePhoneNumberMetadata"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetPhoneNumberId() const { return m_phoneNumberId; }
37 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
38 template <typename PhoneNumberIdT = Aws::String>
39 void SetPhoneNumberId(PhoneNumberIdT&& value) {
40 m_phoneNumberIdHasBeenSet = true;
41 m_phoneNumberId = std::forward<PhoneNumberIdT>(value);
42 }
43 template <typename PhoneNumberIdT = Aws::String>
45 SetPhoneNumberId(std::forward<PhoneNumberIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetPhoneNumberDescription() const { return m_phoneNumberDescription; }
55 inline bool PhoneNumberDescriptionHasBeenSet() const { return m_phoneNumberDescriptionHasBeenSet; }
56 template <typename PhoneNumberDescriptionT = Aws::String>
57 void SetPhoneNumberDescription(PhoneNumberDescriptionT&& value) {
58 m_phoneNumberDescriptionHasBeenSet = true;
59 m_phoneNumberDescription = std::forward<PhoneNumberDescriptionT>(value);
60 }
61 template <typename PhoneNumberDescriptionT = Aws::String>
63 SetPhoneNumberDescription(std::forward<PhoneNumberDescriptionT>(value));
64 return *this;
65 }
67
69
76 inline const Aws::String& GetClientToken() const { return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 template <typename ClientTokenT = Aws::String>
79 void SetClientToken(ClientTokenT&& value) {
80 m_clientTokenHasBeenSet = true;
81 m_clientToken = std::forward<ClientTokenT>(value);
82 }
83 template <typename ClientTokenT = Aws::String>
85 SetClientToken(std::forward<ClientTokenT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_phoneNumberId;
91
92 Aws::String m_phoneNumberDescription;
93
95 bool m_phoneNumberIdHasBeenSet = false;
96 bool m_phoneNumberDescriptionHasBeenSet = false;
97 bool m_clientTokenHasBeenSet = true;
98};
99
100} // namespace Model
101} // namespace Connect
102} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdatePhoneNumberMetadataRequest & WithPhoneNumberDescription(PhoneNumberDescriptionT &&value)
AWS_CONNECT_API UpdatePhoneNumberMetadataRequest()=default
UpdatePhoneNumberMetadataRequest & WithPhoneNumberId(PhoneNumberIdT &&value)
UpdatePhoneNumberMetadataRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String