AWS SDK for C++  1.9.106
AWS SDK for C++
StackInstance.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ServiceCatalog
23 {
24 namespace Model
25 {
26 
39  {
40  public:
45 
46 
50  inline const Aws::String& GetAccount() const{ return m_account; }
51 
55  inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
56 
60  inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
61 
65  inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
66 
70  inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
71 
75  inline StackInstance& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
76 
80  inline StackInstance& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
81 
85  inline StackInstance& WithAccount(const char* value) { SetAccount(value); return *this;}
86 
87 
91  inline const Aws::String& GetRegion() const{ return m_region; }
92 
96  inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
97 
101  inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
102 
106  inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
107 
111  inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
112 
116  inline StackInstance& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
117 
121  inline StackInstance& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
122 
126  inline StackInstance& WithRegion(const char* value) { SetRegion(value); return *this;}
127 
128 
145  inline const StackInstanceStatus& GetStackInstanceStatus() const{ return m_stackInstanceStatus; }
146 
163  inline bool StackInstanceStatusHasBeenSet() const { return m_stackInstanceStatusHasBeenSet; }
164 
181  inline void SetStackInstanceStatus(const StackInstanceStatus& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = value; }
182 
199  inline void SetStackInstanceStatus(StackInstanceStatus&& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = std::move(value); }
200 
217  inline StackInstance& WithStackInstanceStatus(const StackInstanceStatus& value) { SetStackInstanceStatus(value); return *this;}
218 
235  inline StackInstance& WithStackInstanceStatus(StackInstanceStatus&& value) { SetStackInstanceStatus(std::move(value)); return *this;}
236 
237  private:
238 
239  Aws::String m_account;
240  bool m_accountHasBeenSet;
241 
242  Aws::String m_region;
243  bool m_regionHasBeenSet;
244 
245  StackInstanceStatus m_stackInstanceStatus;
246  bool m_stackInstanceStatusHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace ServiceCatalog
251 } // namespace Aws
Aws::ServiceCatalog::Model::StackInstance::StackInstance
StackInstance(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::StackInstance::StackInstanceStatusHasBeenSet
bool StackInstanceStatusHasBeenSet() const
Definition: StackInstance.h:163
Aws::ServiceCatalog::Model::StackInstance::SetAccount
void SetAccount(const Aws::String &value)
Definition: StackInstance.h:60
Aws::ServiceCatalog::Model::StackInstance::WithStackInstanceStatus
StackInstance & WithStackInstanceStatus(StackInstanceStatus &&value)
Definition: StackInstance.h:235
Aws::ServiceCatalog::Model::StackInstance::WithStackInstanceStatus
StackInstance & WithStackInstanceStatus(const StackInstanceStatus &value)
Definition: StackInstance.h:217
Aws::ServiceCatalog::Model::StackInstance::GetStackInstanceStatus
const StackInstanceStatus & GetStackInstanceStatus() const
Definition: StackInstance.h:145
Aws::ServiceCatalog::Model::StackInstance::WithRegion
StackInstance & WithRegion(Aws::String &&value)
Definition: StackInstance.h:121
Aws::ServiceCatalog::Model::StackInstance::operator=
StackInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::StackInstance::SetAccount
void SetAccount(Aws::String &&value)
Definition: StackInstance.h:65
Aws::ServiceCatalog::Model::StackInstance::SetStackInstanceStatus
void SetStackInstanceStatus(const StackInstanceStatus &value)
Definition: StackInstance.h:181
Aws::ServiceCatalog::Model::StackInstance::SetRegion
void SetRegion(Aws::String &&value)
Definition: StackInstance.h:106
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::StackInstanceStatus
StackInstanceStatus
Definition: StackInstanceStatus.h:17
Aws::ServiceCatalog::Model::StackInstance::RegionHasBeenSet
bool RegionHasBeenSet() const
Definition: StackInstance.h:96
Aws::ServiceCatalog::Model::StackInstance::WithAccount
StackInstance & WithAccount(const Aws::String &value)
Definition: StackInstance.h:75
Aws::ServiceCatalog::Model::StackInstance::StackInstance
StackInstance()
Aws::ServiceCatalog::Model::StackInstance::SetAccount
void SetAccount(const char *value)
Definition: StackInstance.h:70
Aws::ServiceCatalog::Model::StackInstance::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::StackInstance::SetStackInstanceStatus
void SetStackInstanceStatus(StackInstanceStatus &&value)
Definition: StackInstance.h:199
Aws::ServiceCatalog::Model::StackInstance::WithAccount
StackInstance & WithAccount(Aws::String &&value)
Definition: StackInstance.h:80
Aws::ServiceCatalog::Model::StackInstance::GetAccount
const Aws::String & GetAccount() const
Definition: StackInstance.h:50
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ServiceCatalog::Model::StackInstance::WithRegion
StackInstance & WithRegion(const Aws::String &value)
Definition: StackInstance.h:116
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::StackInstance::WithAccount
StackInstance & WithAccount(const char *value)
Definition: StackInstance.h:85
Aws::ServiceCatalog::Model::StackInstance
Definition: StackInstance.h:39
Aws::ServiceCatalog::Model::StackInstance::SetRegion
void SetRegion(const Aws::String &value)
Definition: StackInstance.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::StackInstance::GetRegion
const Aws::String & GetRegion() const
Definition: StackInstance.h:91
Aws::ServiceCatalog::Model::StackInstance::WithRegion
StackInstance & WithRegion(const char *value)
Definition: StackInstance.h:126
Aws::ServiceCatalog::Model::StackInstance::AccountHasBeenSet
bool AccountHasBeenSet() const
Definition: StackInstance.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
StackInstanceStatus.h
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::StackInstance::SetRegion
void SetRegion(const char *value)
Definition: StackInstance.h:111