AWS SDK for C++  1.9.109
AWS SDK for C++
GetEnvironmentResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace AppConfig
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 
46  inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
47 
51  inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
52 
56  inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
57 
61  inline GetEnvironmentResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
62 
66  inline GetEnvironmentResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
67 
71  inline GetEnvironmentResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
72 
73 
77  inline const Aws::String& GetId() const{ return m_id; }
78 
82  inline void SetId(const Aws::String& value) { m_id = value; }
83 
87  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
88 
92  inline void SetId(const char* value) { m_id.assign(value); }
93 
97  inline GetEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
98 
102  inline GetEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
103 
107  inline GetEnvironmentResult& WithId(const char* value) { SetId(value); return *this;}
108 
109 
113  inline const Aws::String& GetName() const{ return m_name; }
114 
118  inline void SetName(const Aws::String& value) { m_name = value; }
119 
123  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
124 
128  inline void SetName(const char* value) { m_name.assign(value); }
129 
133  inline GetEnvironmentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
134 
138  inline GetEnvironmentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 
143  inline GetEnvironmentResult& WithName(const char* value) { SetName(value); return *this;}
144 
145 
149  inline const Aws::String& GetDescription() const{ return m_description; }
150 
154  inline void SetDescription(const Aws::String& value) { m_description = value; }
155 
159  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
160 
164  inline void SetDescription(const char* value) { m_description.assign(value); }
165 
169  inline GetEnvironmentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
170 
174  inline GetEnvironmentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
175 
179  inline GetEnvironmentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
180 
181 
187  inline const EnvironmentState& GetState() const{ return m_state; }
188 
194  inline void SetState(const EnvironmentState& value) { m_state = value; }
195 
201  inline void SetState(EnvironmentState&& value) { m_state = std::move(value); }
202 
208  inline GetEnvironmentResult& WithState(const EnvironmentState& value) { SetState(value); return *this;}
209 
215  inline GetEnvironmentResult& WithState(EnvironmentState&& value) { SetState(std::move(value)); return *this;}
216 
217 
221  inline const Aws::Vector<Monitor>& GetMonitors() const{ return m_monitors; }
222 
226  inline void SetMonitors(const Aws::Vector<Monitor>& value) { m_monitors = value; }
227 
231  inline void SetMonitors(Aws::Vector<Monitor>&& value) { m_monitors = std::move(value); }
232 
236  inline GetEnvironmentResult& WithMonitors(const Aws::Vector<Monitor>& value) { SetMonitors(value); return *this;}
237 
241  inline GetEnvironmentResult& WithMonitors(Aws::Vector<Monitor>&& value) { SetMonitors(std::move(value)); return *this;}
242 
246  inline GetEnvironmentResult& AddMonitors(const Monitor& value) { m_monitors.push_back(value); return *this; }
247 
251  inline GetEnvironmentResult& AddMonitors(Monitor&& value) { m_monitors.push_back(std::move(value)); return *this; }
252 
253  private:
254 
255  Aws::String m_applicationId;
256 
257  Aws::String m_id;
258 
259  Aws::String m_name;
260 
261  Aws::String m_description;
262 
263  EnvironmentState m_state;
264 
265  Aws::Vector<Monitor> m_monitors;
266  };
267 
268 } // namespace Model
269 } // namespace AppConfig
270 } // namespace Aws
Aws::AppConfig::Model::GetEnvironmentResult::WithApplicationId
GetEnvironmentResult & WithApplicationId(const Aws::String &value)
Definition: GetEnvironmentResult.h:61
Aws::AppConfig::Model::GetEnvironmentResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetEnvironmentResult.h:149
Monitor.h
Aws::AppConfig::Model::GetEnvironmentResult::WithState
GetEnvironmentResult & WithState(EnvironmentState &&value)
Definition: GetEnvironmentResult.h:215
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppConfig::Model::GetEnvironmentResult::SetId
void SetId(Aws::String &&value)
Definition: GetEnvironmentResult.h:87
Aws::AppConfig::Model::GetEnvironmentResult::SetState
void SetState(EnvironmentState &&value)
Definition: GetEnvironmentResult.h:201
Aws::AppConfig::Model::GetEnvironmentResult::SetState
void SetState(const EnvironmentState &value)
Definition: GetEnvironmentResult.h:194
Aws::AppConfig::Model::GetEnvironmentResult::SetMonitors
void SetMonitors(const Aws::Vector< Monitor > &value)
Definition: GetEnvironmentResult.h:226
Aws::AppConfig::Model::GetEnvironmentResult::WithState
GetEnvironmentResult & WithState(const EnvironmentState &value)
Definition: GetEnvironmentResult.h:208
Aws::AppConfig::Model::GetEnvironmentResult::SetDescription
void SetDescription(const char *value)
Definition: GetEnvironmentResult.h:164
Aws::AppConfig::Model::EnvironmentState
EnvironmentState
Definition: EnvironmentState.h:17
Aws::AppConfig::Model::GetEnvironmentResult
Definition: GetEnvironmentResult.h:31
Aws::AppConfig::Model::GetEnvironmentResult::WithMonitors
GetEnvironmentResult & WithMonitors(const Aws::Vector< Monitor > &value)
Definition: GetEnvironmentResult.h:236
Aws::AppConfig::Model::GetEnvironmentResult::SetId
void SetId(const char *value)
Definition: GetEnvironmentResult.h:92
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppConfig::Model::GetEnvironmentResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetEnvironmentResult.h:159
Aws::AppConfig::Model::GetEnvironmentResult::GetName
const Aws::String & GetName() const
Definition: GetEnvironmentResult.h:113
Aws::AppConfig::Model::GetEnvironmentResult::WithApplicationId
GetEnvironmentResult & WithApplicationId(Aws::String &&value)
Definition: GetEnvironmentResult.h:66
AWSVector.h
AppConfig_EXPORTS.h
Aws::AppConfig::Model::GetEnvironmentResult::GetEnvironmentResult
GetEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppConfig::Model::GetEnvironmentResult::GetId
const Aws::String & GetId() const
Definition: GetEnvironmentResult.h:77
EnvironmentState.h
Aws::AppConfig::Model::GetEnvironmentResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetEnvironmentResult.h:154
Aws::AppConfig::Model::GetEnvironmentResult::WithId
GetEnvironmentResult & WithId(const char *value)
Definition: GetEnvironmentResult.h:107
Aws::AppConfig::Model::GetEnvironmentResult::WithName
GetEnvironmentResult & WithName(Aws::String &&value)
Definition: GetEnvironmentResult.h:138
Aws::AppConfig::Model::GetEnvironmentResult::WithApplicationId
GetEnvironmentResult & WithApplicationId(const char *value)
Definition: GetEnvironmentResult.h:71
Aws::AppConfig::Model::GetEnvironmentResult::GetState
const EnvironmentState & GetState() const
Definition: GetEnvironmentResult.h:187
Aws::AppConfig::Model::GetEnvironmentResult::WithDescription
GetEnvironmentResult & WithDescription(const Aws::String &value)
Definition: GetEnvironmentResult.h:169
Aws::AppConfig::Model::GetEnvironmentResult::SetMonitors
void SetMonitors(Aws::Vector< Monitor > &&value)
Definition: GetEnvironmentResult.h:231
Aws::AppConfig::Model::GetEnvironmentResult::SetApplicationId
void SetApplicationId(const char *value)
Definition: GetEnvironmentResult.h:56
AWSString.h
Aws::AppConfig::Model::GetEnvironmentResult::WithDescription
GetEnvironmentResult & WithDescription(Aws::String &&value)
Definition: GetEnvironmentResult.h:174
Aws::AppConfig::Model::GetEnvironmentResult::SetName
void SetName(const char *value)
Definition: GetEnvironmentResult.h:128
Aws::AppConfig::Model::GetEnvironmentResult::WithName
GetEnvironmentResult & WithName(const Aws::String &value)
Definition: GetEnvironmentResult.h:133
Aws::AppConfig::Model::GetEnvironmentResult::AddMonitors
GetEnvironmentResult & AddMonitors(const Monitor &value)
Definition: GetEnvironmentResult.h:246
Aws::AppConfig::Model::Monitor
Definition: Monitor.h:33
Aws::AppConfig::Model::GetEnvironmentResult::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: GetEnvironmentResult.h:51
Aws::AppConfig::Model::GetEnvironmentResult::SetId
void SetId(const Aws::String &value)
Definition: GetEnvironmentResult.h:82
Aws::AppConfig::Model::GetEnvironmentResult::GetMonitors
const Aws::Vector< Monitor > & GetMonitors() const
Definition: GetEnvironmentResult.h:221
Aws::AppConfig::Model::GetEnvironmentResult::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: GetEnvironmentResult.h:41
Aws::AppConfig::Model::GetEnvironmentResult::operator=
GetEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::GetEnvironmentResult::WithId
GetEnvironmentResult & WithId(const Aws::String &value)
Definition: GetEnvironmentResult.h:97
Aws::AppConfig::Model::GetEnvironmentResult::WithDescription
GetEnvironmentResult & WithDescription(const char *value)
Definition: GetEnvironmentResult.h:179
Aws::AppConfig::Model::GetEnvironmentResult::WithName
GetEnvironmentResult & WithName(const char *value)
Definition: GetEnvironmentResult.h:143
Aws::AppConfig::Model::GetEnvironmentResult::WithId
GetEnvironmentResult & WithId(Aws::String &&value)
Definition: GetEnvironmentResult.h:102
Aws::AppConfig::Model::GetEnvironmentResult::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: GetEnvironmentResult.h:46
Aws::AppConfig::Model::GetEnvironmentResult::AddMonitors
GetEnvironmentResult & AddMonitors(Monitor &&value)
Definition: GetEnvironmentResult.h:251
Aws::AppConfig::Model::GetEnvironmentResult::SetName
void SetName(const Aws::String &value)
Definition: GetEnvironmentResult.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::GetEnvironmentResult::SetName
void SetName(Aws::String &&value)
Definition: GetEnvironmentResult.h:123
Aws::AppConfig::Model::GetEnvironmentResult::WithMonitors
GetEnvironmentResult & WithMonitors(Aws::Vector< Monitor > &&value)
Definition: GetEnvironmentResult.h:241
Aws::AppConfig::Model::GetEnvironmentResult::GetEnvironmentResult
GetEnvironmentResult()