AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DeleteLensShareRequest.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
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API DeleteLensShareRequest() = 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 "DeleteLensShare"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
39 inline const Aws::String& GetShareId() const { return m_shareId; }
40 inline bool ShareIdHasBeenSet() const { return m_shareIdHasBeenSet; }
41 template <typename ShareIdT = Aws::String>
42 void SetShareId(ShareIdT&& value) {
43 m_shareIdHasBeenSet = true;
44 m_shareId = std::forward<ShareIdT>(value);
45 }
46 template <typename ShareIdT = Aws::String>
48 SetShareId(std::forward<ShareIdT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
56 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
57 template <typename LensAliasT = Aws::String>
58 void SetLensAlias(LensAliasT&& value) {
59 m_lensAliasHasBeenSet = true;
60 m_lensAlias = std::forward<LensAliasT>(value);
61 }
62 template <typename LensAliasT = Aws::String>
64 SetLensAlias(std::forward<LensAliasT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
72 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
73 template <typename ClientRequestTokenT = Aws::String>
74 void SetClientRequestToken(ClientRequestTokenT&& value) {
75 m_clientRequestTokenHasBeenSet = true;
76 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
77 }
78 template <typename ClientRequestTokenT = Aws::String>
79 DeleteLensShareRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
80 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_shareId;
86 bool m_shareIdHasBeenSet = false;
87
88 Aws::String m_lensAlias;
89 bool m_lensAliasHasBeenSet = false;
90
91 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
92 bool m_clientRequestTokenHasBeenSet = true;
93};
94
95} // namespace Model
96} // namespace WellArchitected
97} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
DeleteLensShareRequest & WithLensAlias(LensAliasT &&value)
DeleteLensShareRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_WELLARCHITECTED_API DeleteLensShareRequest()=default
DeleteLensShareRequest & WithShareId(ShareIdT &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String