AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportLensRequest.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
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace WellArchitected
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_WELLARCHITECTED_API ExportLensRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ExportLens"; }
35
36 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
37
38 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
43 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
44 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
45 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
46 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
47 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
48 inline ExportLensRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
49 inline ExportLensRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
50 inline ExportLensRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
52
54
57 inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
58 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
59 inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
60 inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
61 inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
62 inline ExportLensRequest& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
63 inline ExportLensRequest& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
64 inline ExportLensRequest& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
66 private:
67
68 Aws::String m_lensAlias;
69 bool m_lensAliasHasBeenSet = false;
70
71 Aws::String m_lensVersion;
72 bool m_lensVersionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WellArchitected
77} // namespace Aws
ExportLensRequest & WithLensVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ExportLensRequest & WithLensVersion(const Aws::String &value)
ExportLensRequest & WithLensAlias(const Aws::String &value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ExportLensRequest & WithLensAlias(const char *value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ExportLensRequest & WithLensVersion(const char *value)
ExportLensRequest & WithLensAlias(Aws::String &&value)
void SetLensVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String