AWS SDK for C++  1.9.105
AWS SDK for C++
OperatingSystemConfigurationManager.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline OperatingSystemConfigurationManager& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline OperatingSystemConfigurationManager& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline OperatingSystemConfigurationManager& WithName(const char* value) { SetName(value); return *this;}
81 
82 
87  inline const Aws::String& GetVersion() const{ return m_version; }
88 
93  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
94 
99  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
100 
105  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
106 
111  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
112 
117  inline OperatingSystemConfigurationManager& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
118 
123  inline OperatingSystemConfigurationManager& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
124 
129  inline OperatingSystemConfigurationManager& WithVersion(const char* value) { SetVersion(value); return *this;}
130 
131  private:
132 
133  Aws::String m_name;
134  bool m_nameHasBeenSet;
135 
136  Aws::String m_version;
137  bool m_versionHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace OpsWorks
142 } // namespace Aws
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::SetName
void SetName(const Aws::String &value)
Definition: OperatingSystemConfigurationManager.h:55
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::WithName
OperatingSystemConfigurationManager & WithName(const Aws::String &value)
Definition: OperatingSystemConfigurationManager.h:70
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::NameHasBeenSet
bool NameHasBeenSet() const
Definition: OperatingSystemConfigurationManager.h:50
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::GetVersion
const Aws::String & GetVersion() const
Definition: OperatingSystemConfigurationManager.h:87
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::GetName
const Aws::String & GetName() const
Definition: OperatingSystemConfigurationManager.h:45
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::operator=
OperatingSystemConfigurationManager & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::SetVersion
void SetVersion(const char *value)
Definition: OperatingSystemConfigurationManager.h:111
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::WithVersion
OperatingSystemConfigurationManager & WithVersion(const char *value)
Definition: OperatingSystemConfigurationManager.h:129
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::OperatingSystemConfigurationManager
OperatingSystemConfigurationManager(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::SetName
void SetName(Aws::String &&value)
Definition: OperatingSystemConfigurationManager.h:60
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::WithVersion
OperatingSystemConfigurationManager & WithVersion(Aws::String &&value)
Definition: OperatingSystemConfigurationManager.h:123
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: OperatingSystemConfigurationManager.h:93
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::WithName
OperatingSystemConfigurationManager & WithName(const char *value)
Definition: OperatingSystemConfigurationManager.h:80
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::SetVersion
void SetVersion(Aws::String &&value)
Definition: OperatingSystemConfigurationManager.h:105
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::WithVersion
OperatingSystemConfigurationManager & WithVersion(const Aws::String &value)
Definition: OperatingSystemConfigurationManager.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::OperatingSystemConfigurationManager
Definition: OperatingSystemConfigurationManager.h:34
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::WithName
OperatingSystemConfigurationManager & WithName(Aws::String &&value)
Definition: OperatingSystemConfigurationManager.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::SetVersion
void SetVersion(const Aws::String &value)
Definition: OperatingSystemConfigurationManager.h:99
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::SetName
void SetName(const char *value)
Definition: OperatingSystemConfigurationManager.h:65
Aws::OpsWorks::Model::OperatingSystemConfigurationManager::OperatingSystemConfigurationManager
OperatingSystemConfigurationManager()