AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLensVersionRequest.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 WellArchitected
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WELLARCHITECTED_API CreateLensVersionRequest();
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 "CreateLensVersion"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35
37
38 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
39 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
40 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
41 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
42 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
43 inline CreateLensVersionRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
44 inline CreateLensVersionRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
45 inline CreateLensVersionRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
47
49
52 inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
53 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
54 inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
55 inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
56 inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
57 inline CreateLensVersionRequest& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
58 inline CreateLensVersionRequest& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
59 inline CreateLensVersionRequest& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
61
63
66 inline bool GetIsMajorVersion() const{ return m_isMajorVersion; }
67 inline bool IsMajorVersionHasBeenSet() const { return m_isMajorVersionHasBeenSet; }
68 inline void SetIsMajorVersion(bool value) { m_isMajorVersionHasBeenSet = true; m_isMajorVersion = value; }
69 inline CreateLensVersionRequest& WithIsMajorVersion(bool value) { SetIsMajorVersion(value); return *this;}
71
73
74 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
75 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
76 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
77 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
78 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
80 inline CreateLensVersionRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
81 inline CreateLensVersionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
83 private:
84
85 Aws::String m_lensAlias;
86 bool m_lensAliasHasBeenSet = false;
87
88 Aws::String m_lensVersion;
89 bool m_lensVersionHasBeenSet = false;
90
91 bool m_isMajorVersion;
92 bool m_isMajorVersionHasBeenSet = false;
93
94 Aws::String m_clientRequestToken;
95 bool m_clientRequestTokenHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace WellArchitected
100} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
CreateLensVersionRequest & WithIsMajorVersion(bool value)
CreateLensVersionRequest & WithClientRequestToken(Aws::String &&value)
CreateLensVersionRequest & WithLensVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateLensVersionRequest & WithClientRequestToken(const char *value)
CreateLensVersionRequest & WithLensVersion(const char *value)
CreateLensVersionRequest & WithClientRequestToken(const Aws::String &value)
CreateLensVersionRequest & WithLensAlias(const char *value)
CreateLensVersionRequest & WithLensVersion(const Aws::String &value)
CreateLensVersionRequest & WithLensAlias(Aws::String &&value)
CreateLensVersionRequest & WithLensAlias(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String