AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DeleteLensRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitectedRequest.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/LensStatusType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace WellArchitected {
20namespace Model {
21
25 public:
26 AWS_WELLARCHITECTED_API DeleteLensRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteLens"; }
33
34 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
35
36 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
40 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
41 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
42 template <typename LensAliasT = Aws::String>
43 void SetLensAlias(LensAliasT&& value) {
44 m_lensAliasHasBeenSet = true;
45 m_lensAlias = std::forward<LensAliasT>(value);
46 }
47 template <typename LensAliasT = Aws::String>
48 DeleteLensRequest& WithLensAlias(LensAliasT&& value) {
49 SetLensAlias(std::forward<LensAliasT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
57 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
58 template <typename ClientRequestTokenT = Aws::String>
59 void SetClientRequestToken(ClientRequestTokenT&& value) {
60 m_clientRequestTokenHasBeenSet = true;
61 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
62 }
63 template <typename ClientRequestTokenT = Aws::String>
64 DeleteLensRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
65 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
66 return *this;
67 }
69
71
74 inline LensStatusType GetLensStatus() const { return m_lensStatus; }
75 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
76 inline void SetLensStatus(LensStatusType value) {
77 m_lensStatusHasBeenSet = true;
78 m_lensStatus = value;
79 }
81 SetLensStatus(value);
82 return *this;
83 }
85 private:
86 Aws::String m_lensAlias;
87 bool m_lensAliasHasBeenSet = false;
88
89 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
90 bool m_clientRequestTokenHasBeenSet = true;
91
93 bool m_lensStatusHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace WellArchitected
98} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API DeleteLensRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
DeleteLensRequest & WithLensStatus(LensStatusType value)
void SetClientRequestToken(ClientRequestTokenT &&value)
DeleteLensRequest & WithClientRequestToken(ClientRequestTokenT &&value)
DeleteLensRequest & WithLensAlias(LensAliasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String