AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteDomainRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API DeleteDomainRequest() = 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 "DeleteDomain"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
35 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template <typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) {
45 m_identifierHasBeenSet = true;
46 m_identifier = std::forward<IdentifierT>(value);
47 }
48 template <typename IdentifierT = Aws::String>
49 DeleteDomainRequest& WithIdentifier(IdentifierT&& value) {
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetClientToken() const { return m_clientToken; }
61 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
62 template <typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) {
64 m_clientTokenHasBeenSet = true;
65 m_clientToken = std::forward<ClientTokenT>(value);
66 }
67 template <typename ClientTokenT = Aws::String>
68 DeleteDomainRequest& WithClientToken(ClientTokenT&& value) {
69 SetClientToken(std::forward<ClientTokenT>(value));
70 return *this;
71 }
73
75
79 inline bool GetSkipDeletionCheck() const { return m_skipDeletionCheck; }
80 inline bool SkipDeletionCheckHasBeenSet() const { return m_skipDeletionCheckHasBeenSet; }
81 inline void SetSkipDeletionCheck(bool value) {
82 m_skipDeletionCheckHasBeenSet = true;
83 m_skipDeletionCheck = value;
84 }
87 return *this;
88 }
90 private:
91 Aws::String m_identifier;
92
94
95 bool m_skipDeletionCheck{false};
96 bool m_identifierHasBeenSet = false;
97 bool m_clientTokenHasBeenSet = true;
98 bool m_skipDeletionCheckHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace DataZone
103} // namespace Aws
DeleteDomainRequest & WithSkipDeletionCheck(bool value)
DeleteDomainRequest & WithClientToken(ClientTokenT &&value)
DeleteDomainRequest & WithIdentifier(IdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_DATAZONE_API DeleteDomainRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String