AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Lens.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected
23{
24namespace Model
25{
26
32 class Lens
33 {
34 public:
35 AWS_WELLARCHITECTED_API Lens();
36 AWS_WELLARCHITECTED_API Lens(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API Lens& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
46 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
47 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
48 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
49 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
50 inline Lens& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
51 inline Lens& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
52 inline Lens& WithLensArn(const char* value) { SetLensArn(value); return *this;}
54
56
59 inline const Aws::String& GetLensVersion() const{ return m_lensVersion; }
60 inline bool LensVersionHasBeenSet() const { return m_lensVersionHasBeenSet; }
61 inline void SetLensVersion(const Aws::String& value) { m_lensVersionHasBeenSet = true; m_lensVersion = value; }
62 inline void SetLensVersion(Aws::String&& value) { m_lensVersionHasBeenSet = true; m_lensVersion = std::move(value); }
63 inline void SetLensVersion(const char* value) { m_lensVersionHasBeenSet = true; m_lensVersion.assign(value); }
64 inline Lens& WithLensVersion(const Aws::String& value) { SetLensVersion(value); return *this;}
65 inline Lens& WithLensVersion(Aws::String&& value) { SetLensVersion(std::move(value)); return *this;}
66 inline Lens& WithLensVersion(const char* value) { SetLensVersion(value); return *this;}
68
70
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline Lens& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline Lens& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline Lens& WithName(const char* value) { SetName(value); return *this;}
80
82
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
88 inline Lens& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline Lens& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline Lens& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
97 inline const Aws::String& GetOwner() const{ return m_owner; }
98 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
99 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
100 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
101 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
102 inline Lens& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
103 inline Lens& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
104 inline Lens& WithOwner(const char* value) { SetOwner(value); return *this;}
106
108
111 inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; }
112 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
113 inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; }
114 inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); }
115 inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); }
116 inline Lens& WithShareInvitationId(const Aws::String& value) { SetShareInvitationId(value); return *this;}
117 inline Lens& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;}
118 inline Lens& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;}
120
122
125 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
126 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
127 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
128 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
129 inline Lens& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
130 inline Lens& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
131 inline Lens& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
132 inline Lens& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
133 inline Lens& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
134 inline Lens& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
135 inline Lens& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
136 inline Lens& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
137 inline Lens& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
139 private:
140
141 Aws::String m_lensArn;
142 bool m_lensArnHasBeenSet = false;
143
144 Aws::String m_lensVersion;
145 bool m_lensVersionHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
153 Aws::String m_owner;
154 bool m_ownerHasBeenSet = false;
155
156 Aws::String m_shareInvitationId;
157 bool m_shareInvitationIdHasBeenSet = false;
158
160 bool m_tagsHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace WellArchitected
165} // namespace Aws
Lens & WithName(const Aws::String &value)
Definition Lens.h:76
Lens & WithOwner(Aws::String &&value)
Definition Lens.h:103
Lens & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Lens.h:130
void SetLensVersion(Aws::String &&value)
Definition Lens.h:62
Lens & WithDescription(const char *value)
Definition Lens.h:90
void SetName(const Aws::String &value)
Definition Lens.h:73
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Lens.h:128
Lens & WithLensArn(const Aws::String &value)
Definition Lens.h:50
Lens & WithDescription(const Aws::String &value)
Definition Lens.h:88
void SetShareInvitationId(const Aws::String &value)
Definition Lens.h:113
void SetLensVersion(const Aws::String &value)
Definition Lens.h:61
AWS_WELLARCHITECTED_API Lens & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition Lens.h:87
void SetLensArn(const char *value)
Definition Lens.h:49
Lens & WithLensArn(const char *value)
Definition Lens.h:52
void SetOwner(Aws::String &&value)
Definition Lens.h:100
Lens & WithShareInvitationId(Aws::String &&value)
Definition Lens.h:117
Lens & WithLensArn(Aws::String &&value)
Definition Lens.h:51
const Aws::String & GetDescription() const
Definition Lens.h:83
AWS_WELLARCHITECTED_API Lens()
const Aws::String & GetOwner() const
Definition Lens.h:97
const Aws::String & GetLensVersion() const
Definition Lens.h:59
const Aws::String & GetShareInvitationId() const
Definition Lens.h:111
Lens & WithLensVersion(const Aws::String &value)
Definition Lens.h:64
Lens & WithName(Aws::String &&value)
Definition Lens.h:77
void SetName(Aws::String &&value)
Definition Lens.h:74
void SetLensArn(const Aws::String &value)
Definition Lens.h:47
void SetDescription(const Aws::String &value)
Definition Lens.h:85
void SetShareInvitationId(Aws::String &&value)
Definition Lens.h:114
bool ShareInvitationIdHasBeenSet() const
Definition Lens.h:112
void SetOwner(const char *value)
Definition Lens.h:101
Lens & WithName(const char *value)
Definition Lens.h:78
bool LensVersionHasBeenSet() const
Definition Lens.h:60
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLensVersion(const char *value)
Definition Lens.h:63
bool LensArnHasBeenSet() const
Definition Lens.h:46
Lens & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Lens.h:129
Lens & AddTags(const Aws::String &key, const Aws::String &value)
Definition Lens.h:131
void SetName(const char *value)
Definition Lens.h:75
Lens & WithLensVersion(const char *value)
Definition Lens.h:66
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Lens.h:127
void SetDescription(Aws::String &&value)
Definition Lens.h:86
Lens & WithDescription(Aws::String &&value)
Definition Lens.h:89
Lens & WithOwner(const Aws::String &value)
Definition Lens.h:102
const Aws::String & GetName() const
Definition Lens.h:71
Lens & AddTags(Aws::String &&key, const Aws::String &value)
Definition Lens.h:132
AWS_WELLARCHITECTED_API Lens(Aws::Utils::Json::JsonView jsonValue)
void SetShareInvitationId(const char *value)
Definition Lens.h:115
Lens & AddTags(const char *key, const char *value)
Definition Lens.h:137
Lens & AddTags(const Aws::String &key, Aws::String &&value)
Definition Lens.h:133
Lens & AddTags(Aws::String &&key, const char *value)
Definition Lens.h:136
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Lens.h:125
Lens & AddTags(Aws::String &&key, Aws::String &&value)
Definition Lens.h:134
const Aws::String & GetLensArn() const
Definition Lens.h:45
void SetLensArn(Aws::String &&value)
Definition Lens.h:48
Lens & WithShareInvitationId(const char *value)
Definition Lens.h:118
Lens & WithShareInvitationId(const Aws::String &value)
Definition Lens.h:116
Lens & WithLensVersion(Aws::String &&value)
Definition Lens.h:65
Lens & WithOwner(const char *value)
Definition Lens.h:104
bool DescriptionHasBeenSet() const
Definition Lens.h:84
Lens & AddTags(const char *key, Aws::String &&value)
Definition Lens.h:135
void SetOwner(const Aws::String &value)
Definition Lens.h:99
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
Aws::Utils::Json::JsonValue JsonValue