AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImportLensRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace WellArchitected
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_WELLARCHITECTED_API ImportLensRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ImportLens"; }
33
34 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
35
36
38
39 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
40 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
41 template<typename LensAliasT = Aws::String>
42 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
43 template<typename LensAliasT = Aws::String>
44 ImportLensRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
46
48
51 inline const Aws::String& GetJSONString() const { return m_jSONString; }
52 inline bool JSONStringHasBeenSet() const { return m_jSONStringHasBeenSet; }
53 template<typename JSONStringT = Aws::String>
54 void SetJSONString(JSONStringT&& value) { m_jSONStringHasBeenSet = true; m_jSONString = std::forward<JSONStringT>(value); }
55 template<typename JSONStringT = Aws::String>
56 ImportLensRequest& WithJSONString(JSONStringT&& value) { SetJSONString(std::forward<JSONStringT>(value)); return *this;}
58
60
61 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
62 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
63 template<typename ClientRequestTokenT = Aws::String>
64 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
65 template<typename ClientRequestTokenT = Aws::String>
66 ImportLensRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
74 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
75 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
77 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 ImportLensRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
79 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
80 ImportLensRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
81 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
82 }
84 private:
85
86 Aws::String m_lensAlias;
87 bool m_lensAliasHasBeenSet = false;
88
89 Aws::String m_jSONString;
90 bool m_jSONStringHasBeenSet = false;
91
92 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
93 bool m_clientRequestTokenHasBeenSet = true;
94
96 bool m_tagsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace WellArchitected
101} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
void SetClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImportLensRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
ImportLensRequest & WithJSONString(JSONStringT &&value)
ImportLensRequest & WithTags(TagsT &&value)
ImportLensRequest & WithLensAlias(LensAliasT &&value)
AWS_WELLARCHITECTED_API ImportLensRequest()=default
ImportLensRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String