AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackInstance.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicecatalog/model/StackInstanceStatus.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 ServiceCatalog
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_SERVICECATALOG_API StackInstance();
42 AWS_SERVICECATALOG_API StackInstance(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SERVICECATALOG_API StackInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetAccount() const{ return m_account; }
53 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
54 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
55 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
56 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
57 inline StackInstance& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
58 inline StackInstance& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
59 inline StackInstance& WithAccount(const char* value) { SetAccount(value); return *this;}
61
63
67 inline const Aws::String& GetRegion() const{ return m_region; }
68 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
69 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
70 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
71 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
72 inline StackInstance& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
73 inline StackInstance& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
74 inline StackInstance& WithRegion(const char* value) { SetRegion(value); return *this;}
76
78
94 inline const StackInstanceStatus& GetStackInstanceStatus() const{ return m_stackInstanceStatus; }
95 inline bool StackInstanceStatusHasBeenSet() const { return m_stackInstanceStatusHasBeenSet; }
96 inline void SetStackInstanceStatus(const StackInstanceStatus& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = value; }
97 inline void SetStackInstanceStatus(StackInstanceStatus&& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = std::move(value); }
99 inline StackInstance& WithStackInstanceStatus(StackInstanceStatus&& value) { SetStackInstanceStatus(std::move(value)); return *this;}
101 private:
102
103 Aws::String m_account;
104 bool m_accountHasBeenSet = false;
105
106 Aws::String m_region;
107 bool m_regionHasBeenSet = false;
108
109 StackInstanceStatus m_stackInstanceStatus;
110 bool m_stackInstanceStatusHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ServiceCatalog
115} // namespace Aws
StackInstance & WithAccount(Aws::String &&value)
StackInstance & WithAccount(const Aws::String &value)
StackInstance & WithAccount(const char *value)
void SetStackInstanceStatus(const StackInstanceStatus &value)
StackInstance & WithRegion(const Aws::String &value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
StackInstance & WithStackInstanceStatus(StackInstanceStatus &&value)
void SetAccount(const Aws::String &value)
const Aws::String & GetAccount() const
AWS_SERVICECATALOG_API StackInstance(Aws::Utils::Json::JsonView jsonValue)
StackInstance & WithStackInstanceStatus(const StackInstanceStatus &value)
StackInstance & WithRegion(const char *value)
const StackInstanceStatus & GetStackInstanceStatus() const
AWS_SERVICECATALOG_API StackInstance()
AWS_SERVICECATALOG_API StackInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const Aws::String &value)
void SetStackInstanceStatus(StackInstanceStatus &&value)
const Aws::String & GetRegion() const
StackInstance & WithRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue