AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteLensRequest.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 <aws/wellarchitected/model/LensStatusType.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace WellArchitected
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_WELLARCHITECTED_API DeleteLensRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DeleteLens"; }
37
38 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
39
40 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
45 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
46 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
47 template<typename LensAliasT = Aws::String>
48 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
49 template<typename LensAliasT = Aws::String>
50 DeleteLensRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
52
54
55 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
56 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
57 template<typename ClientRequestTokenT = Aws::String>
58 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
59 template<typename ClientRequestTokenT = Aws::String>
60 DeleteLensRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
62
64
67 inline LensStatusType GetLensStatus() const { return m_lensStatus; }
68 inline bool LensStatusHasBeenSet() const { return m_lensStatusHasBeenSet; }
69 inline void SetLensStatus(LensStatusType value) { m_lensStatusHasBeenSet = true; m_lensStatus = value; }
70 inline DeleteLensRequest& WithLensStatus(LensStatusType value) { SetLensStatus(value); return *this;}
72 private:
73
74 Aws::String m_lensAlias;
75 bool m_lensAliasHasBeenSet = false;
76
77 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
78 bool m_clientRequestTokenHasBeenSet = true;
79
81 bool m_lensStatusHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace WellArchitected
86} // 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