AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReleasePhoneNumberRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace Connect
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CONNECT_API ReleasePhoneNumberRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ReleasePhoneNumber"; }
36
37 AWS_CONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
47 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
48 inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
49 inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
50 inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
51 inline ReleasePhoneNumberRequest& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
52 inline ReleasePhoneNumberRequest& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
53 inline ReleasePhoneNumberRequest& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
55
57
64 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
65 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
66 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
67 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
68 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
69 inline ReleasePhoneNumberRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
70 inline ReleasePhoneNumberRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
71 inline ReleasePhoneNumberRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
73 private:
74
75 Aws::String m_phoneNumberId;
76 bool m_phoneNumberIdHasBeenSet = false;
77
78 Aws::String m_clientToken;
79 bool m_clientTokenHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Connect
84} // namespace Aws
ReleasePhoneNumberRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ReleasePhoneNumberRequest & WithClientToken(const Aws::String &value)
ReleasePhoneNumberRequest & WithClientToken(const char *value)
ReleasePhoneNumberRequest & WithPhoneNumberId(Aws::String &&value)
ReleasePhoneNumberRequest & WithPhoneNumberId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ReleasePhoneNumberRequest & WithPhoneNumberId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String