AWS SDK for C++  1.9.132
AWS SDK for C++
StackConfigurationManager.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline StackConfigurationManager& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline StackConfigurationManager& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline StackConfigurationManager& WithName(const char* value) { SetName(value); return *this;}
79 
80 
86  inline const Aws::String& GetVersion() const{ return m_version; }
87 
93  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
94 
100  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
101 
107  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
108 
114  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
115 
121  inline StackConfigurationManager& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
122 
128  inline StackConfigurationManager& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
129 
135  inline StackConfigurationManager& WithVersion(const char* value) { SetVersion(value); return *this;}
136 
137  private:
138 
139  Aws::String m_name;
140  bool m_nameHasBeenSet;
141 
142  Aws::String m_version;
143  bool m_versionHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace OpsWorks
148 } // namespace Aws
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::StackConfigurationManager::SetVersion
void SetVersion(const char *value)
Definition: StackConfigurationManager.h:114
Aws::OpsWorks::Model::StackConfigurationManager::StackConfigurationManager
StackConfigurationManager()
Aws::OpsWorks::Model::StackConfigurationManager
Definition: StackConfigurationManager.h:32
Aws::OpsWorks::Model::StackConfigurationManager::SetName
void SetName(const char *value)
Definition: StackConfigurationManager.h:63
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::StackConfigurationManager::SetName
void SetName(const Aws::String &value)
Definition: StackConfigurationManager.h:53
Aws::OpsWorks::Model::StackConfigurationManager::StackConfigurationManager
StackConfigurationManager(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::StackConfigurationManager::WithName
StackConfigurationManager & WithName(const Aws::String &value)
Definition: StackConfigurationManager.h:68
Aws::OpsWorks::Model::StackConfigurationManager::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: StackConfigurationManager.h:93
Aws::OpsWorks::Model::StackConfigurationManager::WithVersion
StackConfigurationManager & WithVersion(const char *value)
Definition: StackConfigurationManager.h:135
Aws::OpsWorks::Model::StackConfigurationManager::operator=
StackConfigurationManager & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::StackConfigurationManager::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::StackConfigurationManager::GetVersion
const Aws::String & GetVersion() const
Definition: StackConfigurationManager.h:86
Aws::OpsWorks::Model::StackConfigurationManager::WithName
StackConfigurationManager & WithName(const char *value)
Definition: StackConfigurationManager.h:78
Aws::OpsWorks::Model::StackConfigurationManager::WithName
StackConfigurationManager & WithName(Aws::String &&value)
Definition: StackConfigurationManager.h:73
Aws::OpsWorks::Model::StackConfigurationManager::WithVersion
StackConfigurationManager & WithVersion(Aws::String &&value)
Definition: StackConfigurationManager.h:128
Aws::OpsWorks::Model::StackConfigurationManager::SetVersion
void SetVersion(const Aws::String &value)
Definition: StackConfigurationManager.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::StackConfigurationManager::GetName
const Aws::String & GetName() const
Definition: StackConfigurationManager.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::StackConfigurationManager::WithVersion
StackConfigurationManager & WithVersion(const Aws::String &value)
Definition: StackConfigurationManager.h:121
Aws::OpsWorks::Model::StackConfigurationManager::SetName
void SetName(Aws::String &&value)
Definition: StackConfigurationManager.h:58
Aws::OpsWorks::Model::StackConfigurationManager::SetVersion
void SetVersion(Aws::String &&value)
Definition: StackConfigurationManager.h:107
Aws::OpsWorks::Model::StackConfigurationManager::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StackConfigurationManager.h:48