AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LensUpgradeSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WELLARCHITECTED_API LensUpgradeSummary();
35 AWS_WELLARCHITECTED_API LensUpgradeSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WELLARCHITECTED_API LensUpgradeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
43 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
44 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
45 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
46 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
47 inline LensUpgradeSummary& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
48 inline LensUpgradeSummary& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
49 inline LensUpgradeSummary& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
51
53
54 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
55 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
56 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
57 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
58 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
59 inline LensUpgradeSummary& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
60 inline LensUpgradeSummary& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
61 inline LensUpgradeSummary& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
63
65
66 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
67 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
68 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
69 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
70 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
71 inline LensUpgradeSummary& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
72 inline LensUpgradeSummary& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
73 inline LensUpgradeSummary& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
75
77
80 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
81 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
82 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
83 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
84 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
85 inline LensUpgradeSummary& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
86 inline LensUpgradeSummary& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
87 inline LensUpgradeSummary& WithLensArn(const char* value) { SetLensArn(value); return *this;}
89
91
94 inline const Aws::String& GetCurrentLensVersion() const{ return m_currentLensVersion; }
95 inline bool CurrentLensVersionHasBeenSet() const { return m_currentLensVersionHasBeenSet; }
96 inline void SetCurrentLensVersion(const Aws::String& value) { m_currentLensVersionHasBeenSet = true; m_currentLensVersion = value; }
97 inline void SetCurrentLensVersion(Aws::String&& value) { m_currentLensVersionHasBeenSet = true; m_currentLensVersion = std::move(value); }
98 inline void SetCurrentLensVersion(const char* value) { m_currentLensVersionHasBeenSet = true; m_currentLensVersion.assign(value); }
99 inline LensUpgradeSummary& WithCurrentLensVersion(const Aws::String& value) { SetCurrentLensVersion(value); return *this;}
100 inline LensUpgradeSummary& WithCurrentLensVersion(Aws::String&& value) { SetCurrentLensVersion(std::move(value)); return *this;}
101 inline LensUpgradeSummary& WithCurrentLensVersion(const char* value) { SetCurrentLensVersion(value); return *this;}
103
105
108 inline const Aws::String& GetLatestLensVersion() const{ return m_latestLensVersion; }
109 inline bool LatestLensVersionHasBeenSet() const { return m_latestLensVersionHasBeenSet; }
110 inline void SetLatestLensVersion(const Aws::String& value) { m_latestLensVersionHasBeenSet = true; m_latestLensVersion = value; }
111 inline void SetLatestLensVersion(Aws::String&& value) { m_latestLensVersionHasBeenSet = true; m_latestLensVersion = std::move(value); }
112 inline void SetLatestLensVersion(const char* value) { m_latestLensVersionHasBeenSet = true; m_latestLensVersion.assign(value); }
113 inline LensUpgradeSummary& WithLatestLensVersion(const Aws::String& value) { SetLatestLensVersion(value); return *this;}
114 inline LensUpgradeSummary& WithLatestLensVersion(Aws::String&& value) { SetLatestLensVersion(std::move(value)); return *this;}
115 inline LensUpgradeSummary& WithLatestLensVersion(const char* value) { SetLatestLensVersion(value); return *this;}
117
119
122 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
123 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
124 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
125 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
126 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
127 inline LensUpgradeSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
128 inline LensUpgradeSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
129 inline LensUpgradeSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
131
133
134 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
135 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
136 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
137 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
138 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
139 inline LensUpgradeSummary& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
140 inline LensUpgradeSummary& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
141 inline LensUpgradeSummary& WithResourceName(const char* value) { SetResourceName(value); return *this;}
143 private:
144
145 Aws::String m_workloadId;
146 bool m_workloadIdHasBeenSet = false;
147
148 Aws::String m_workloadName;
149 bool m_workloadNameHasBeenSet = false;
150
151 Aws::String m_lensAlias;
152 bool m_lensAliasHasBeenSet = false;
153
154 Aws::String m_lensArn;
155 bool m_lensArnHasBeenSet = false;
156
157 Aws::String m_currentLensVersion;
158 bool m_currentLensVersionHasBeenSet = false;
159
160 Aws::String m_latestLensVersion;
161 bool m_latestLensVersionHasBeenSet = false;
162
163 Aws::String m_resourceArn;
164 bool m_resourceArnHasBeenSet = false;
165
166 Aws::String m_resourceName;
167 bool m_resourceNameHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace WellArchitected
172} // namespace Aws
LensUpgradeSummary & WithLatestLensVersion(const Aws::String &value)
LensUpgradeSummary & WithLensArn(const char *value)
AWS_WELLARCHITECTED_API LensUpgradeSummary(Aws::Utils::Json::JsonView jsonValue)
LensUpgradeSummary & WithLensArn(Aws::String &&value)
LensUpgradeSummary & WithLensArn(const Aws::String &value)
LensUpgradeSummary & WithLatestLensVersion(const char *value)
LensUpgradeSummary & WithCurrentLensVersion(Aws::String &&value)
LensUpgradeSummary & WithResourceArn(const Aws::String &value)
LensUpgradeSummary & WithResourceArn(Aws::String &&value)
LensUpgradeSummary & WithLatestLensVersion(Aws::String &&value)
LensUpgradeSummary & WithLensAlias(Aws::String &&value)
LensUpgradeSummary & WithResourceName(const char *value)
AWS_WELLARCHITECTED_API LensUpgradeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLatestLensVersion(const Aws::String &value)
LensUpgradeSummary & WithLensAlias(const char *value)
LensUpgradeSummary & WithCurrentLensVersion(const char *value)
LensUpgradeSummary & WithLensAlias(const Aws::String &value)
LensUpgradeSummary & WithResourceArn(const char *value)
LensUpgradeSummary & WithWorkloadName(const char *value)
void SetCurrentLensVersion(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
LensUpgradeSummary & WithResourceName(Aws::String &&value)
LensUpgradeSummary & WithWorkloadId(Aws::String &&value)
LensUpgradeSummary & WithWorkloadName(const Aws::String &value)
LensUpgradeSummary & WithWorkloadId(const Aws::String &value)
LensUpgradeSummary & WithWorkloadName(Aws::String &&value)
LensUpgradeSummary & WithResourceName(const Aws::String &value)
LensUpgradeSummary & WithWorkloadId(const char *value)
LensUpgradeSummary & WithCurrentLensVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue