AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDataSourceRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.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 DataZone
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DATAZONE_API DeleteDataSourceRequest();
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 "DeleteDataSource"; }
36
37 AWS_DATAZONE_API Aws::String SerializePayload() const override;
38
39 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
50 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
51 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
52 inline DeleteDataSourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
53 inline DeleteDataSourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
54 inline DeleteDataSourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
56
58
61 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
62 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
63 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
64 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
65 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
66 inline DeleteDataSourceRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
67 inline DeleteDataSourceRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
68 inline DeleteDataSourceRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
70
72
75 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
76 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
77 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
78 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
79 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
80 inline DeleteDataSourceRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
81 inline DeleteDataSourceRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
82 inline DeleteDataSourceRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
84
86
90 inline bool GetRetainPermissionsOnRevokeFailure() const{ return m_retainPermissionsOnRevokeFailure; }
91 inline bool RetainPermissionsOnRevokeFailureHasBeenSet() const { return m_retainPermissionsOnRevokeFailureHasBeenSet; }
92 inline void SetRetainPermissionsOnRevokeFailure(bool value) { m_retainPermissionsOnRevokeFailureHasBeenSet = true; m_retainPermissionsOnRevokeFailure = value; }
95 private:
96
97 Aws::String m_clientToken;
98 bool m_clientTokenHasBeenSet = false;
99
100 Aws::String m_domainIdentifier;
101 bool m_domainIdentifierHasBeenSet = false;
102
103 Aws::String m_identifier;
104 bool m_identifierHasBeenSet = false;
105
106 bool m_retainPermissionsOnRevokeFailure;
107 bool m_retainPermissionsOnRevokeFailureHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DataZone
112} // namespace Aws
DeleteDataSourceRequest & WithDomainIdentifier(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteDataSourceRequest & WithIdentifier(const char *value)
DeleteDataSourceRequest & WithClientToken(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
DeleteDataSourceRequest & WithIdentifier(const Aws::String &value)
DeleteDataSourceRequest & WithDomainIdentifier(const Aws::String &value)
DeleteDataSourceRequest & WithClientToken(const Aws::String &value)
DeleteDataSourceRequest & WithIdentifier(Aws::String &&value)
DeleteDataSourceRequest & WithDomainIdentifier(const char *value)
DeleteDataSourceRequest & WithRetainPermissionsOnRevokeFailure(bool value)
DeleteDataSourceRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String