AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
42 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
43 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
44 inline ImportLensRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
45 inline ImportLensRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
46 inline ImportLensRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
48
50
53 inline const Aws::String& GetJSONString() const{ return m_jSONString; }
54 inline bool JSONStringHasBeenSet() const { return m_jSONStringHasBeenSet; }
55 inline void SetJSONString(const Aws::String& value) { m_jSONStringHasBeenSet = true; m_jSONString = value; }
56 inline void SetJSONString(Aws::String&& value) { m_jSONStringHasBeenSet = true; m_jSONString = std::move(value); }
57 inline void SetJSONString(const char* value) { m_jSONStringHasBeenSet = true; m_jSONString.assign(value); }
58 inline ImportLensRequest& WithJSONString(const Aws::String& value) { SetJSONString(value); return *this;}
59 inline ImportLensRequest& WithJSONString(Aws::String&& value) { SetJSONString(std::move(value)); return *this;}
60 inline ImportLensRequest& WithJSONString(const char* value) { SetJSONString(value); return *this;}
62
64
65 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
66 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
67 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
68 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
69 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
70 inline ImportLensRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
71 inline ImportLensRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
72 inline ImportLensRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
74
76
79 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
82 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
83 inline ImportLensRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
84 inline ImportLensRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
85 inline ImportLensRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
86 inline ImportLensRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
87 inline ImportLensRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
88 inline ImportLensRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
89 inline ImportLensRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline ImportLensRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline ImportLensRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
93 private:
94
95 Aws::String m_lensAlias;
96 bool m_lensAliasHasBeenSet = false;
97
98 Aws::String m_jSONString;
99 bool m_jSONStringHasBeenSet = false;
100
101 Aws::String m_clientRequestToken;
102 bool m_clientRequestTokenHasBeenSet = false;
103
105 bool m_tagsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace WellArchitected
110} // namespace Aws
ImportLensRequest & WithLensAlias(const Aws::String &value)
ImportLensRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportLensRequest & WithJSONString(const char *value)
ImportLensRequest & WithClientRequestToken(const char *value)
ImportLensRequest & WithLensAlias(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ImportLensRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImportLensRequest & WithLensAlias(const char *value)
ImportLensRequest & AddTags(const char *key, const char *value)
ImportLensRequest & WithClientRequestToken(const Aws::String &value)
ImportLensRequest & AddTags(const Aws::String &key, const Aws::String &value)
ImportLensRequest & WithJSONString(Aws::String &&value)
ImportLensRequest & AddTags(const char *key, Aws::String &&value)
ImportLensRequest & WithJSONString(const Aws::String &value)
ImportLensRequest & AddTags(const Aws::String &key, Aws::String &&value)
ImportLensRequest & AddTags(Aws::String &&key, const Aws::String &value)
ImportLensRequest & WithClientRequestToken(Aws::String &&value)
ImportLensRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
void SetClientRequestToken(const Aws::String &value)
ImportLensRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
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