AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VersionInfo.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ECS_API VersionInfo();
39
40
42
45 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
46 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
47 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
48 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
49 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
50 inline VersionInfo& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
51 inline VersionInfo& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
52 inline VersionInfo& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
54
56
61 inline const Aws::String& GetAgentHash() const{ return m_agentHash; }
62 inline bool AgentHashHasBeenSet() const { return m_agentHashHasBeenSet; }
63 inline void SetAgentHash(const Aws::String& value) { m_agentHashHasBeenSet = true; m_agentHash = value; }
64 inline void SetAgentHash(Aws::String&& value) { m_agentHashHasBeenSet = true; m_agentHash = std::move(value); }
65 inline void SetAgentHash(const char* value) { m_agentHashHasBeenSet = true; m_agentHash.assign(value); }
66 inline VersionInfo& WithAgentHash(const Aws::String& value) { SetAgentHash(value); return *this;}
67 inline VersionInfo& WithAgentHash(Aws::String&& value) { SetAgentHash(std::move(value)); return *this;}
68 inline VersionInfo& WithAgentHash(const char* value) { SetAgentHash(value); return *this;}
70
72
75 inline const Aws::String& GetDockerVersion() const{ return m_dockerVersion; }
76 inline bool DockerVersionHasBeenSet() const { return m_dockerVersionHasBeenSet; }
77 inline void SetDockerVersion(const Aws::String& value) { m_dockerVersionHasBeenSet = true; m_dockerVersion = value; }
78 inline void SetDockerVersion(Aws::String&& value) { m_dockerVersionHasBeenSet = true; m_dockerVersion = std::move(value); }
79 inline void SetDockerVersion(const char* value) { m_dockerVersionHasBeenSet = true; m_dockerVersion.assign(value); }
80 inline VersionInfo& WithDockerVersion(const Aws::String& value) { SetDockerVersion(value); return *this;}
81 inline VersionInfo& WithDockerVersion(Aws::String&& value) { SetDockerVersion(std::move(value)); return *this;}
82 inline VersionInfo& WithDockerVersion(const char* value) { SetDockerVersion(value); return *this;}
84 private:
85
86 Aws::String m_agentVersion;
87 bool m_agentVersionHasBeenSet = false;
88
89 Aws::String m_agentHash;
90 bool m_agentHashHasBeenSet = false;
91
92 Aws::String m_dockerVersion;
93 bool m_dockerVersionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ECS
98} // namespace Aws
void SetAgentVersion(Aws::String &&value)
Definition VersionInfo.h:48
AWS_ECS_API VersionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
VersionInfo & WithAgentHash(const char *value)
Definition VersionInfo.h:68
bool DockerVersionHasBeenSet() const
Definition VersionInfo.h:76
AWS_ECS_API VersionInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAgentHash() const
Definition VersionInfo.h:61
VersionInfo & WithDockerVersion(Aws::String &&value)
Definition VersionInfo.h:81
void SetAgentHash(const Aws::String &value)
Definition VersionInfo.h:63
void SetDockerVersion(const Aws::String &value)
Definition VersionInfo.h:77
const Aws::String & GetAgentVersion() const
Definition VersionInfo.h:45
void SetDockerVersion(const char *value)
Definition VersionInfo.h:79
VersionInfo & WithDockerVersion(const char *value)
Definition VersionInfo.h:82
void SetAgentVersion(const char *value)
Definition VersionInfo.h:49
void SetDockerVersion(Aws::String &&value)
Definition VersionInfo.h:78
VersionInfo & WithAgentVersion(const char *value)
Definition VersionInfo.h:52
VersionInfo & WithAgentHash(Aws::String &&value)
Definition VersionInfo.h:67
bool AgentVersionHasBeenSet() const
Definition VersionInfo.h:46
VersionInfo & WithAgentHash(const Aws::String &value)
Definition VersionInfo.h:66
VersionInfo & WithDockerVersion(const Aws::String &value)
Definition VersionInfo.h:80
VersionInfo & WithAgentVersion(Aws::String &&value)
Definition VersionInfo.h:51
void SetAgentHash(const char *value)
Definition VersionInfo.h:65
void SetAgentHash(Aws::String &&value)
Definition VersionInfo.h:64
void SetAgentVersion(const Aws::String &value)
Definition VersionInfo.h:47
const Aws::String & GetDockerVersion() const
Definition VersionInfo.h:75
VersionInfo & WithAgentVersion(const Aws::String &value)
Definition VersionInfo.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue