AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetLensRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace WellArchitected {
18namespace Model {
19
23 public:
24 AWS_WELLARCHITECTED_API GetLensRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetLens"; }
31
32 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
33
34 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
38 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
39 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
40 template <typename LensAliasT = Aws::String>
41 void SetLensAlias(LensAliasT&& value) {
42 m_lensAliasHasBeenSet = true;
43 m_lensAlias = std::forward<LensAliasT>(value);
44 }
45 template <typename LensAliasT = Aws::String>
46 GetLensRequest& WithLensAlias(LensAliasT&& value) {
47 SetLensAlias(std::forward<LensAliasT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetLensVersion() const { return m_lensVersion; }
57 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
58 template <typename LensVersionT = Aws::String>
59 void SetLensVersion(LensVersionT&& value) {
60 m_lensVersionHasBeenSet = true;
61 m_lensVersion = std::forward<LensVersionT>(value);
62 }
63 template <typename LensVersionT = Aws::String>
64 GetLensRequest& WithLensVersion(LensVersionT&& value) {
65 SetLensVersion(std::forward<LensVersionT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_lensAlias;
71 bool m_lensAliasHasBeenSet = false;
72
73 Aws::String m_lensVersion;
74 bool m_lensVersionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace WellArchitected
79} // namespace Aws
const Aws::String & GetLensAlias() const
const Aws::String & GetLensVersion() const
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetLensRequest & WithLensAlias(LensAliasT &&value)
AWS_WELLARCHITECTED_API GetLensRequest()=default
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
void SetLensVersion(LensVersionT &&value)
GetLensRequest & WithLensVersion(LensVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String