AWS SDK for C++  1.9.105
AWS SDK for C++
AgentVersion.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 OpsWorks
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetVersion() const{ return m_version; }
45 
49  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
50 
54  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
55 
59  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
60 
64  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
65 
69  inline AgentVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
70 
74  inline AgentVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
75 
79  inline AgentVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
80 
81 
85  inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
86 
90  inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; }
91 
95  inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
96 
100  inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); }
101 
105  inline AgentVersion& WithConfigurationManager(const StackConfigurationManager& value) { SetConfigurationManager(value); return *this;}
106 
110  inline AgentVersion& WithConfigurationManager(StackConfigurationManager&& value) { SetConfigurationManager(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_version;
115  bool m_versionHasBeenSet;
116 
117  StackConfigurationManager m_configurationManager;
118  bool m_configurationManagerHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace OpsWorks
123 } // namespace Aws
Aws::OpsWorks::Model::AgentVersion::SetConfigurationManager
void SetConfigurationManager(const StackConfigurationManager &value)
Definition: AgentVersion.h:95
StackConfigurationManager.h
Aws::OpsWorks::Model::AgentVersion::AgentVersion
AgentVersion(Aws::Utils::Json::JsonView jsonValue)
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::AgentVersion::GetConfigurationManager
const StackConfigurationManager & GetConfigurationManager() const
Definition: AgentVersion.h:85
Aws::OpsWorks::Model::AgentVersion::GetVersion
const Aws::String & GetVersion() const
Definition: AgentVersion.h:44
Aws::OpsWorks::Model::AgentVersion::SetVersion
void SetVersion(const char *value)
Definition: AgentVersion.h:64
Aws::OpsWorks::Model::AgentVersion::WithVersion
AgentVersion & WithVersion(const char *value)
Definition: AgentVersion.h:79
Aws::OpsWorks::Model::AgentVersion::AgentVersion
AgentVersion()
Aws::OpsWorks::Model::StackConfigurationManager
Definition: StackConfigurationManager.h:32
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::AgentVersion::WithVersion
AgentVersion & WithVersion(const Aws::String &value)
Definition: AgentVersion.h:69
Aws::OpsWorks::Model::AgentVersion::operator=
AgentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::AgentVersion::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: AgentVersion.h:49
Aws::OpsWorks::Model::AgentVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::AgentVersion::WithConfigurationManager
AgentVersion & WithConfigurationManager(const StackConfigurationManager &value)
Definition: AgentVersion.h:105
Aws::OpsWorks::Model::AgentVersion::WithVersion
AgentVersion & WithVersion(Aws::String &&value)
Definition: AgentVersion.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::AgentVersion::WithConfigurationManager
AgentVersion & WithConfigurationManager(StackConfigurationManager &&value)
Definition: AgentVersion.h:110
Aws::OpsWorks::Model::AgentVersion::SetVersion
void SetVersion(Aws::String &&value)
Definition: AgentVersion.h:59
Aws::OpsWorks::Model::AgentVersion::SetVersion
void SetVersion(const Aws::String &value)
Definition: AgentVersion.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::AgentVersion::ConfigurationManagerHasBeenSet
bool ConfigurationManagerHasBeenSet() const
Definition: AgentVersion.h:90
Aws::OpsWorks::Model::AgentVersion::SetConfigurationManager
void SetConfigurationManager(StackConfigurationManager &&value)
Definition: AgentVersion.h:100
Aws::OpsWorks::Model::AgentVersion
Definition: AgentVersion.h:33