AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePhoneNumberMetadataRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdatePhoneNumberMetadata"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
41 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
42 inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
43 inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
44 inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
46 inline UpdatePhoneNumberMetadataRequest& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
47 inline UpdatePhoneNumberMetadataRequest& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
49
51
54 inline const Aws::String& GetPhoneNumberDescription() const{ return m_phoneNumberDescription; }
55 inline bool PhoneNumberDescriptionHasBeenSet() const { return m_phoneNumberDescriptionHasBeenSet; }
56 inline void SetPhoneNumberDescription(const Aws::String& value) { m_phoneNumberDescriptionHasBeenSet = true; m_phoneNumberDescription = value; }
57 inline void SetPhoneNumberDescription(Aws::String&& value) { m_phoneNumberDescriptionHasBeenSet = true; m_phoneNumberDescription = std::move(value); }
58 inline void SetPhoneNumberDescription(const char* value) { m_phoneNumberDescriptionHasBeenSet = true; m_phoneNumberDescription.assign(value); }
63
65
72 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
75 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
76 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
77 inline UpdatePhoneNumberMetadataRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
78 inline UpdatePhoneNumberMetadataRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
79 inline UpdatePhoneNumberMetadataRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
81 private:
82
83 Aws::String m_phoneNumberId;
84 bool m_phoneNumberIdHasBeenSet = false;
85
86 Aws::String m_phoneNumberDescription;
87 bool m_phoneNumberDescriptionHasBeenSet = false;
88
89 Aws::String m_clientToken;
90 bool m_clientTokenHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdatePhoneNumberMetadataRequest & WithClientToken(const Aws::String &value)
UpdatePhoneNumberMetadataRequest & WithPhoneNumberId(Aws::String &&value)
UpdatePhoneNumberMetadataRequest & WithPhoneNumberDescription(const Aws::String &value)
UpdatePhoneNumberMetadataRequest & WithPhoneNumberDescription(Aws::String &&value)
UpdatePhoneNumberMetadataRequest & WithPhoneNumberDescription(const char *value)
UpdatePhoneNumberMetadataRequest & WithPhoneNumberId(const Aws::String &value)
UpdatePhoneNumberMetadataRequest & WithClientToken(const char *value)
UpdatePhoneNumberMetadataRequest & WithPhoneNumberId(const char *value)
UpdatePhoneNumberMetadataRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String