AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteLensShareRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.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 WellArchitected
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WELLARCHITECTED_API DeleteLensShareRequest() = default;
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 "DeleteLensShare"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetShareId() const { return m_shareId; }
45 inline bool ShareIdHasBeenSet() const { return m_shareIdHasBeenSet; }
46 template<typename ShareIdT = Aws::String>
47 void SetShareId(ShareIdT&& value) { m_shareIdHasBeenSet = true; m_shareId = std::forward<ShareIdT>(value); }
48 template<typename ShareIdT = Aws::String>
49 DeleteLensShareRequest& WithShareId(ShareIdT&& value) { SetShareId(std::forward<ShareIdT>(value)); return *this;}
51
53
54 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
55 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
56 template<typename LensAliasT = Aws::String>
57 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
58 template<typename LensAliasT = Aws::String>
59 DeleteLensShareRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
61
63
64 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
65 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
66 template<typename ClientRequestTokenT = Aws::String>
67 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
68 template<typename ClientRequestTokenT = Aws::String>
69 DeleteLensShareRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
71 private:
72
73 Aws::String m_shareId;
74 bool m_shareIdHasBeenSet = false;
75
76 Aws::String m_lensAlias;
77 bool m_lensAliasHasBeenSet = false;
78
79 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
80 bool m_clientRequestTokenHasBeenSet = true;
81 };
82
83} // namespace Model
84} // namespace WellArchitected
85} // 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