AWS SDK for C++  1.9.71
AWS SDK for C++
ElasticGpuAssociation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetElasticGpuId() const{ return m_elasticGpuId; }
47 
51  inline bool ElasticGpuIdHasBeenSet() const { return m_elasticGpuIdHasBeenSet; }
52 
56  inline void SetElasticGpuId(const Aws::String& value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId = value; }
57 
61  inline void SetElasticGpuId(Aws::String&& value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId = std::move(value); }
62 
66  inline void SetElasticGpuId(const char* value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId.assign(value); }
67 
71  inline ElasticGpuAssociation& WithElasticGpuId(const Aws::String& value) { SetElasticGpuId(value); return *this;}
72 
76  inline ElasticGpuAssociation& WithElasticGpuId(Aws::String&& value) { SetElasticGpuId(std::move(value)); return *this;}
77 
81  inline ElasticGpuAssociation& WithElasticGpuId(const char* value) { SetElasticGpuId(value); return *this;}
82 
83 
87  inline const Aws::String& GetElasticGpuAssociationId() const{ return m_elasticGpuAssociationId; }
88 
92  inline bool ElasticGpuAssociationIdHasBeenSet() const { return m_elasticGpuAssociationIdHasBeenSet; }
93 
97  inline void SetElasticGpuAssociationId(const Aws::String& value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId = value; }
98 
102  inline void SetElasticGpuAssociationId(Aws::String&& value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId = std::move(value); }
103 
107  inline void SetElasticGpuAssociationId(const char* value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId.assign(value); }
108 
112  inline ElasticGpuAssociation& WithElasticGpuAssociationId(const Aws::String& value) { SetElasticGpuAssociationId(value); return *this;}
113 
117  inline ElasticGpuAssociation& WithElasticGpuAssociationId(Aws::String&& value) { SetElasticGpuAssociationId(std::move(value)); return *this;}
118 
122  inline ElasticGpuAssociation& WithElasticGpuAssociationId(const char* value) { SetElasticGpuAssociationId(value); return *this;}
123 
124 
129  inline const Aws::String& GetElasticGpuAssociationState() const{ return m_elasticGpuAssociationState; }
130 
135  inline bool ElasticGpuAssociationStateHasBeenSet() const { return m_elasticGpuAssociationStateHasBeenSet; }
136 
141  inline void SetElasticGpuAssociationState(const Aws::String& value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState = value; }
142 
147  inline void SetElasticGpuAssociationState(Aws::String&& value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState = std::move(value); }
148 
153  inline void SetElasticGpuAssociationState(const char* value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState.assign(value); }
154 
159  inline ElasticGpuAssociation& WithElasticGpuAssociationState(const Aws::String& value) { SetElasticGpuAssociationState(value); return *this;}
160 
165  inline ElasticGpuAssociation& WithElasticGpuAssociationState(Aws::String&& value) { SetElasticGpuAssociationState(std::move(value)); return *this;}
166 
171  inline ElasticGpuAssociation& WithElasticGpuAssociationState(const char* value) { SetElasticGpuAssociationState(value); return *this;}
172 
173 
178  inline const Aws::String& GetElasticGpuAssociationTime() const{ return m_elasticGpuAssociationTime; }
179 
184  inline bool ElasticGpuAssociationTimeHasBeenSet() const { return m_elasticGpuAssociationTimeHasBeenSet; }
185 
190  inline void SetElasticGpuAssociationTime(const Aws::String& value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime = value; }
191 
196  inline void SetElasticGpuAssociationTime(Aws::String&& value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime = std::move(value); }
197 
202  inline void SetElasticGpuAssociationTime(const char* value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime.assign(value); }
203 
208  inline ElasticGpuAssociation& WithElasticGpuAssociationTime(const Aws::String& value) { SetElasticGpuAssociationTime(value); return *this;}
209 
214  inline ElasticGpuAssociation& WithElasticGpuAssociationTime(Aws::String&& value) { SetElasticGpuAssociationTime(std::move(value)); return *this;}
215 
220  inline ElasticGpuAssociation& WithElasticGpuAssociationTime(const char* value) { SetElasticGpuAssociationTime(value); return *this;}
221 
222  private:
223 
224  Aws::String m_elasticGpuId;
225  bool m_elasticGpuIdHasBeenSet;
226 
227  Aws::String m_elasticGpuAssociationId;
228  bool m_elasticGpuAssociationIdHasBeenSet;
229 
230  Aws::String m_elasticGpuAssociationState;
231  bool m_elasticGpuAssociationStateHasBeenSet;
232 
233  Aws::String m_elasticGpuAssociationTime;
234  bool m_elasticGpuAssociationTimeHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace EC2
239 } // namespace Aws
Aws::EC2::Model::ElasticGpuAssociation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuId
void SetElasticGpuId(Aws::String &&value)
Definition: ElasticGpuAssociation.h:61
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationId
ElasticGpuAssociation & WithElasticGpuAssociationId(const Aws::String &value)
Definition: ElasticGpuAssociation.h:112
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationState
ElasticGpuAssociation & WithElasticGpuAssociationState(Aws::String &&value)
Definition: ElasticGpuAssociation.h:165
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuId
void SetElasticGpuId(const Aws::String &value)
Definition: ElasticGpuAssociation.h:56
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationId
void SetElasticGpuAssociationId(const char *value)
Definition: ElasticGpuAssociation.h:107
Aws::EC2::Model::ElasticGpuAssociation::ElasticGpuAssociationStateHasBeenSet
bool ElasticGpuAssociationStateHasBeenSet() const
Definition: ElasticGpuAssociation.h:135
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationTime
ElasticGpuAssociation & WithElasticGpuAssociationTime(const char *value)
Definition: ElasticGpuAssociation.h:220
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuId
ElasticGpuAssociation & WithElasticGpuId(const char *value)
Definition: ElasticGpuAssociation.h:81
AWSStreamFwd.h
Aws::EC2::Model::ElasticGpuAssociation::ElasticGpuAssociation
ElasticGpuAssociation()
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationState
ElasticGpuAssociation & WithElasticGpuAssociationState(const Aws::String &value)
Definition: ElasticGpuAssociation.h:159
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationTime
void SetElasticGpuAssociationTime(Aws::String &&value)
Definition: ElasticGpuAssociation.h:196
Aws::EC2::Model::ElasticGpuAssociation
Definition: ElasticGpuAssociation.h:33
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuId
void SetElasticGpuId(const char *value)
Definition: ElasticGpuAssociation.h:66
Aws::EC2::Model::ElasticGpuAssociation::ElasticGpuIdHasBeenSet
bool ElasticGpuIdHasBeenSet() const
Definition: ElasticGpuAssociation.h:51
Aws::EC2::Model::ElasticGpuAssociation::operator=
ElasticGpuAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuId
ElasticGpuAssociation & WithElasticGpuId(Aws::String &&value)
Definition: ElasticGpuAssociation.h:76
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationState
void SetElasticGpuAssociationState(Aws::String &&value)
Definition: ElasticGpuAssociation.h:147
Aws::EC2::Model::ElasticGpuAssociation::GetElasticGpuAssociationState
const Aws::String & GetElasticGpuAssociationState() const
Definition: ElasticGpuAssociation.h:129
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationId
void SetElasticGpuAssociationId(Aws::String &&value)
Definition: ElasticGpuAssociation.h:102
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationId
ElasticGpuAssociation & WithElasticGpuAssociationId(const char *value)
Definition: ElasticGpuAssociation.h:122
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationId
void SetElasticGpuAssociationId(const Aws::String &value)
Definition: ElasticGpuAssociation.h:97
Aws::EC2::Model::ElasticGpuAssociation::ElasticGpuAssociation
ElasticGpuAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
Aws::EC2::Model::ElasticGpuAssociation::GetElasticGpuAssociationId
const Aws::String & GetElasticGpuAssociationId() const
Definition: ElasticGpuAssociation.h:87
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationId
ElasticGpuAssociation & WithElasticGpuAssociationId(Aws::String &&value)
Definition: ElasticGpuAssociation.h:117
Aws::EC2::Model::ElasticGpuAssociation::ElasticGpuAssociationTimeHasBeenSet
bool ElasticGpuAssociationTimeHasBeenSet() const
Definition: ElasticGpuAssociation.h:184
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationState
ElasticGpuAssociation & WithElasticGpuAssociationState(const char *value)
Definition: ElasticGpuAssociation.h:171
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationTime
void SetElasticGpuAssociationTime(const Aws::String &value)
Definition: ElasticGpuAssociation.h:190
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationState
void SetElasticGpuAssociationState(const char *value)
Definition: ElasticGpuAssociation.h:153
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ElasticGpuAssociation::GetElasticGpuAssociationTime
const Aws::String & GetElasticGpuAssociationTime() const
Definition: ElasticGpuAssociation.h:178
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationTime
ElasticGpuAssociation & WithElasticGpuAssociationTime(const Aws::String &value)
Definition: ElasticGpuAssociation.h:208
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuId
ElasticGpuAssociation & WithElasticGpuId(const Aws::String &value)
Definition: ElasticGpuAssociation.h:71
Aws::EC2::Model::ElasticGpuAssociation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationState
void SetElasticGpuAssociationState(const Aws::String &value)
Definition: ElasticGpuAssociation.h:141
EC2_EXPORTS.h
Aws::EC2::Model::ElasticGpuAssociation::GetElasticGpuId
const Aws::String & GetElasticGpuId() const
Definition: ElasticGpuAssociation.h:46
Aws::EC2::Model::ElasticGpuAssociation::WithElasticGpuAssociationTime
ElasticGpuAssociation & WithElasticGpuAssociationTime(Aws::String &&value)
Definition: ElasticGpuAssociation.h:214
Aws::EC2::Model::ElasticGpuAssociation::ElasticGpuAssociationIdHasBeenSet
bool ElasticGpuAssociationIdHasBeenSet() const
Definition: ElasticGpuAssociation.h:92
Aws::EC2::Model::ElasticGpuAssociation::SetElasticGpuAssociationTime
void SetElasticGpuAssociationTime(const char *value)
Definition: ElasticGpuAssociation.h:202