AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentVersion.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/StackConfigurationManager.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 OpsWorks
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OPSWORKS_API AgentVersion();
36 AWS_OPSWORKS_API AgentVersion(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVersion() const{ return m_version; }
46 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
47 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
48 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
49 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
50 inline AgentVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
51 inline AgentVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
52 inline AgentVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
54
56
59 inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; }
60 inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; }
61 inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; }
62 inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); }
66 private:
67
68 Aws::String m_version;
69 bool m_versionHasBeenSet = false;
70
71 StackConfigurationManager m_configurationManager;
72 bool m_configurationManagerHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace OpsWorks
77} // namespace Aws
AWS_OPSWORKS_API AgentVersion(Aws::Utils::Json::JsonView jsonValue)
AgentVersion & WithVersion(Aws::String &&value)
void SetVersion(const char *value)
const Aws::String & GetVersion() const
void SetConfigurationManager(StackConfigurationManager &&value)
const StackConfigurationManager & GetConfigurationManager() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVersion(Aws::String &&value)
AWS_OPSWORKS_API AgentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentVersion & WithVersion(const char *value)
void SetVersion(const Aws::String &value)
AgentVersion & WithConfigurationManager(const StackConfigurationManager &value)
void SetConfigurationManager(const StackConfigurationManager &value)
AgentVersion & WithConfigurationManager(StackConfigurationManager &&value)
AgentVersion & WithVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue