AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentDetails.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/model/ComponentVersion.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GroundStation
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GROUNDSTATION_API AgentDetails();
37 AWS_GROUNDSTATION_API AgentDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API AgentDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<int>& GetAgentCpuCores() const{ return m_agentCpuCores; }
47 inline bool AgentCpuCoresHasBeenSet() const { return m_agentCpuCoresHasBeenSet; }
48 inline void SetAgentCpuCores(const Aws::Vector<int>& value) { m_agentCpuCoresHasBeenSet = true; m_agentCpuCores = value; }
49 inline void SetAgentCpuCores(Aws::Vector<int>&& value) { m_agentCpuCoresHasBeenSet = true; m_agentCpuCores = std::move(value); }
50 inline AgentDetails& WithAgentCpuCores(const Aws::Vector<int>& value) { SetAgentCpuCores(value); return *this;}
51 inline AgentDetails& WithAgentCpuCores(Aws::Vector<int>&& value) { SetAgentCpuCores(std::move(value)); return *this;}
52 inline AgentDetails& AddAgentCpuCores(int value) { m_agentCpuCoresHasBeenSet = true; m_agentCpuCores.push_back(value); return *this; }
54
56
59 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
60 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
61 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
62 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
63 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
64 inline AgentDetails& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
65 inline AgentDetails& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
66 inline AgentDetails& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
68
70
73 inline const Aws::Vector<ComponentVersion>& GetComponentVersions() const{ return m_componentVersions; }
74 inline bool ComponentVersionsHasBeenSet() const { return m_componentVersionsHasBeenSet; }
75 inline void SetComponentVersions(const Aws::Vector<ComponentVersion>& value) { m_componentVersionsHasBeenSet = true; m_componentVersions = value; }
76 inline void SetComponentVersions(Aws::Vector<ComponentVersion>&& value) { m_componentVersionsHasBeenSet = true; m_componentVersions = std::move(value); }
78 inline AgentDetails& WithComponentVersions(Aws::Vector<ComponentVersion>&& value) { SetComponentVersions(std::move(value)); return *this;}
79 inline AgentDetails& AddComponentVersions(const ComponentVersion& value) { m_componentVersionsHasBeenSet = true; m_componentVersions.push_back(value); return *this; }
80 inline AgentDetails& AddComponentVersions(ComponentVersion&& value) { m_componentVersionsHasBeenSet = true; m_componentVersions.push_back(std::move(value)); return *this; }
82
84
87 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
88 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
89 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
90 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
91 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
92 inline AgentDetails& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
93 inline AgentDetails& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
94 inline AgentDetails& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
96
98
101 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
102 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
103 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
104 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
105 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
106 inline AgentDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
107 inline AgentDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
108 inline AgentDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
110
112
117 inline const Aws::Vector<int>& GetReservedCpuCores() const{ return m_reservedCpuCores; }
118 inline bool ReservedCpuCoresHasBeenSet() const { return m_reservedCpuCoresHasBeenSet; }
119 inline void SetReservedCpuCores(const Aws::Vector<int>& value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores = value; }
120 inline void SetReservedCpuCores(Aws::Vector<int>&& value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores = std::move(value); }
121 inline AgentDetails& WithReservedCpuCores(const Aws::Vector<int>& value) { SetReservedCpuCores(value); return *this;}
122 inline AgentDetails& WithReservedCpuCores(Aws::Vector<int>&& value) { SetReservedCpuCores(std::move(value)); return *this;}
123 inline AgentDetails& AddReservedCpuCores(int value) { m_reservedCpuCoresHasBeenSet = true; m_reservedCpuCores.push_back(value); return *this; }
125 private:
126
127 Aws::Vector<int> m_agentCpuCores;
128 bool m_agentCpuCoresHasBeenSet = false;
129
130 Aws::String m_agentVersion;
131 bool m_agentVersionHasBeenSet = false;
132
133 Aws::Vector<ComponentVersion> m_componentVersions;
134 bool m_componentVersionsHasBeenSet = false;
135
136 Aws::String m_instanceId;
137 bool m_instanceIdHasBeenSet = false;
138
139 Aws::String m_instanceType;
140 bool m_instanceTypeHasBeenSet = false;
141
142 Aws::Vector<int> m_reservedCpuCores;
143 bool m_reservedCpuCoresHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace GroundStation
148} // namespace Aws
AgentDetails & WithAgentVersion(const Aws::String &value)
const Aws::Vector< ComponentVersion > & GetComponentVersions() const
AWS_GROUNDSTATION_API AgentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentVersion(const char *value)
void SetInstanceType(Aws::String &&value)
AgentDetails & WithInstanceId(const Aws::String &value)
const Aws::Vector< int > & GetReservedCpuCores() const
void SetReservedCpuCores(const Aws::Vector< int > &value)
AgentDetails & WithInstanceType(const char *value)
AgentDetails & WithAgentVersion(const char *value)
AgentDetails & WithInstanceType(const Aws::String &value)
AgentDetails & WithAgentCpuCores(const Aws::Vector< int > &value)
void SetReservedCpuCores(Aws::Vector< int > &&value)
AgentDetails & WithInstanceId(const char *value)
AgentDetails & AddComponentVersions(const ComponentVersion &value)
AgentDetails & WithComponentVersions(const Aws::Vector< ComponentVersion > &value)
AgentDetails & WithReservedCpuCores(const Aws::Vector< int > &value)
AgentDetails & WithAgentVersion(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetInstanceType(const char *value)
void SetAgentVersion(Aws::String &&value)
AWS_GROUNDSTATION_API AgentDetails()
void SetInstanceType(const Aws::String &value)
AgentDetails & AddComponentVersions(ComponentVersion &&value)
const Aws::String & GetInstanceType() const
void SetAgentCpuCores(Aws::Vector< int > &&value)
void SetInstanceId(const char *value)
void SetInstanceId(Aws::String &&value)
AgentDetails & WithComponentVersions(Aws::Vector< ComponentVersion > &&value)
const Aws::String & GetAgentVersion() const
void SetComponentVersions(const Aws::Vector< ComponentVersion > &value)
AWS_GROUNDSTATION_API AgentDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgentVersion(const Aws::String &value)
const Aws::Vector< int > & GetAgentCpuCores() const
AgentDetails & WithAgentCpuCores(Aws::Vector< int > &&value)
AgentDetails & WithReservedCpuCores(Aws::Vector< int > &&value)
AgentDetails & AddAgentCpuCores(int value)
AgentDetails & AddReservedCpuCores(int value)
void SetAgentCpuCores(const Aws::Vector< int > &value)
const Aws::String & GetInstanceId() const
void SetComponentVersions(Aws::Vector< ComponentVersion > &&value)
AgentDetails & WithInstanceType(Aws::String &&value)
AgentDetails & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue