AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DeleteEnvironmentRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-thin-client/WorkSpacesThinClientRequest.h>
10#include <aws/workspaces-thin-client/WorkSpacesThinClient_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WorkSpacesThinClient {
19namespace Model {
20
24 public:
25 AWS_WORKSPACESTHINCLIENT_API DeleteEnvironmentRequest() = default;
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 "DeleteEnvironment"; }
32
33 AWS_WORKSPACESTHINCLIENT_API Aws::String SerializePayload() const override;
34
35 AWS_WORKSPACESTHINCLIENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
68 inline const Aws::String& GetClientToken() const { return m_clientToken; }
69 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
70 template <typename ClientTokenT = Aws::String>
71 void SetClientToken(ClientTokenT&& value) {
72 m_clientTokenHasBeenSet = true;
73 m_clientToken = std::forward<ClientTokenT>(value);
74 }
75 template <typename ClientTokenT = Aws::String>
77 SetClientToken(std::forward<ClientTokenT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_id;
83
85 bool m_idHasBeenSet = false;
86 bool m_clientTokenHasBeenSet = true;
87};
88
89} // namespace Model
90} // namespace WorkSpacesThinClient
91} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WORKSPACESTHINCLIENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WORKSPACESTHINCLIENT_API Aws::String SerializePayload() const override
DeleteEnvironmentRequest & WithClientToken(ClientTokenT &&value)
AWS_WORKSPACESTHINCLIENT_API DeleteEnvironmentRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String