AWS SDK for C++  1.9.70
AWS SDK for C++
ElasticInferenceAcceleratorAssociation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetElasticInferenceAcceleratorArn() const{ return m_elasticInferenceAcceleratorArn; }
48 
52  inline bool ElasticInferenceAcceleratorArnHasBeenSet() const { return m_elasticInferenceAcceleratorArnHasBeenSet; }
53 
57  inline void SetElasticInferenceAcceleratorArn(const Aws::String& value) { m_elasticInferenceAcceleratorArnHasBeenSet = true; m_elasticInferenceAcceleratorArn = value; }
58 
62  inline void SetElasticInferenceAcceleratorArn(Aws::String&& value) { m_elasticInferenceAcceleratorArnHasBeenSet = true; m_elasticInferenceAcceleratorArn = std::move(value); }
63 
67  inline void SetElasticInferenceAcceleratorArn(const char* value) { m_elasticInferenceAcceleratorArnHasBeenSet = true; m_elasticInferenceAcceleratorArn.assign(value); }
68 
72  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorArn(const Aws::String& value) { SetElasticInferenceAcceleratorArn(value); return *this;}
73 
77  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorArn(Aws::String&& value) { SetElasticInferenceAcceleratorArn(std::move(value)); return *this;}
78 
82  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorArn(const char* value) { SetElasticInferenceAcceleratorArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetElasticInferenceAcceleratorAssociationId() const{ return m_elasticInferenceAcceleratorAssociationId; }
89 
93  inline bool ElasticInferenceAcceleratorAssociationIdHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationIdHasBeenSet; }
94 
98  inline void SetElasticInferenceAcceleratorAssociationId(const Aws::String& value) { m_elasticInferenceAcceleratorAssociationIdHasBeenSet = true; m_elasticInferenceAcceleratorAssociationId = value; }
99 
103  inline void SetElasticInferenceAcceleratorAssociationId(Aws::String&& value) { m_elasticInferenceAcceleratorAssociationIdHasBeenSet = true; m_elasticInferenceAcceleratorAssociationId = std::move(value); }
104 
108  inline void SetElasticInferenceAcceleratorAssociationId(const char* value) { m_elasticInferenceAcceleratorAssociationIdHasBeenSet = true; m_elasticInferenceAcceleratorAssociationId.assign(value); }
109 
113  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationId(const Aws::String& value) { SetElasticInferenceAcceleratorAssociationId(value); return *this;}
114 
118  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationId(Aws::String&& value) { SetElasticInferenceAcceleratorAssociationId(std::move(value)); return *this;}
119 
123  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationId(const char* value) { SetElasticInferenceAcceleratorAssociationId(value); return *this;}
124 
125 
129  inline const Aws::String& GetElasticInferenceAcceleratorAssociationState() const{ return m_elasticInferenceAcceleratorAssociationState; }
130 
134  inline bool ElasticInferenceAcceleratorAssociationStateHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationStateHasBeenSet; }
135 
139  inline void SetElasticInferenceAcceleratorAssociationState(const Aws::String& value) { m_elasticInferenceAcceleratorAssociationStateHasBeenSet = true; m_elasticInferenceAcceleratorAssociationState = value; }
140 
144  inline void SetElasticInferenceAcceleratorAssociationState(Aws::String&& value) { m_elasticInferenceAcceleratorAssociationStateHasBeenSet = true; m_elasticInferenceAcceleratorAssociationState = std::move(value); }
145 
149  inline void SetElasticInferenceAcceleratorAssociationState(const char* value) { m_elasticInferenceAcceleratorAssociationStateHasBeenSet = true; m_elasticInferenceAcceleratorAssociationState.assign(value); }
150 
154  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationState(const Aws::String& value) { SetElasticInferenceAcceleratorAssociationState(value); return *this;}
155 
159  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationState(Aws::String&& value) { SetElasticInferenceAcceleratorAssociationState(std::move(value)); return *this;}
160 
164  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationState(const char* value) { SetElasticInferenceAcceleratorAssociationState(value); return *this;}
165 
166 
171  inline const Aws::Utils::DateTime& GetElasticInferenceAcceleratorAssociationTime() const{ return m_elasticInferenceAcceleratorAssociationTime; }
172 
177  inline bool ElasticInferenceAcceleratorAssociationTimeHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationTimeHasBeenSet; }
178 
183  inline void SetElasticInferenceAcceleratorAssociationTime(const Aws::Utils::DateTime& value) { m_elasticInferenceAcceleratorAssociationTimeHasBeenSet = true; m_elasticInferenceAcceleratorAssociationTime = value; }
184 
189  inline void SetElasticInferenceAcceleratorAssociationTime(Aws::Utils::DateTime&& value) { m_elasticInferenceAcceleratorAssociationTimeHasBeenSet = true; m_elasticInferenceAcceleratorAssociationTime = std::move(value); }
190 
195  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationTime(const Aws::Utils::DateTime& value) { SetElasticInferenceAcceleratorAssociationTime(value); return *this;}
196 
201  inline ElasticInferenceAcceleratorAssociation& WithElasticInferenceAcceleratorAssociationTime(Aws::Utils::DateTime&& value) { SetElasticInferenceAcceleratorAssociationTime(std::move(value)); return *this;}
202 
203  private:
204 
205  Aws::String m_elasticInferenceAcceleratorArn;
206  bool m_elasticInferenceAcceleratorArnHasBeenSet;
207 
208  Aws::String m_elasticInferenceAcceleratorAssociationId;
209  bool m_elasticInferenceAcceleratorAssociationIdHasBeenSet;
210 
211  Aws::String m_elasticInferenceAcceleratorAssociationState;
212  bool m_elasticInferenceAcceleratorAssociationStateHasBeenSet;
213 
214  Aws::Utils::DateTime m_elasticInferenceAcceleratorAssociationTime;
215  bool m_elasticInferenceAcceleratorAssociationTimeHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace EC2
220 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorArn
void SetElasticInferenceAcceleratorArn(const char *value)
Definition: ElasticInferenceAcceleratorAssociation.h:67
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::GetElasticInferenceAcceleratorAssociationState
const Aws::String & GetElasticInferenceAcceleratorAssociationState() const
Definition: ElasticInferenceAcceleratorAssociation.h:129
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationId
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationId(const Aws::String &value)
Definition: ElasticInferenceAcceleratorAssociation.h:113
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::GetElasticInferenceAcceleratorAssociationTime
const Aws::Utils::DateTime & GetElasticInferenceAcceleratorAssociationTime() const
Definition: ElasticInferenceAcceleratorAssociation.h:171
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationId
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationId(const char *value)
Definition: ElasticInferenceAcceleratorAssociation.h:123
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationState
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationState(Aws::String &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:159
DateTime.h
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::ElasticInferenceAcceleratorArnHasBeenSet
bool ElasticInferenceAcceleratorArnHasBeenSet() const
Definition: ElasticInferenceAcceleratorAssociation.h:52
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationId
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationId(Aws::String &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:118
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::ElasticInferenceAcceleratorAssociationIdHasBeenSet
bool ElasticInferenceAcceleratorAssociationIdHasBeenSet() const
Definition: ElasticInferenceAcceleratorAssociation.h:93
AWSStreamFwd.h
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationTime
void SetElasticInferenceAcceleratorAssociationTime(const Aws::Utils::DateTime &value)
Definition: ElasticInferenceAcceleratorAssociation.h:183
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationId
void SetElasticInferenceAcceleratorAssociationId(Aws::String &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:103
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationTime
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationTime(const Aws::Utils::DateTime &value)
Definition: ElasticInferenceAcceleratorAssociation.h:195
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::ElasticInferenceAcceleratorAssociationTimeHasBeenSet
bool ElasticInferenceAcceleratorAssociationTimeHasBeenSet() const
Definition: ElasticInferenceAcceleratorAssociation.h:177
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorArn
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorArn(const char *value)
Definition: ElasticInferenceAcceleratorAssociation.h:82
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorArn
void SetElasticInferenceAcceleratorArn(Aws::String &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:62
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationState
void SetElasticInferenceAcceleratorAssociationState(Aws::String &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:144
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorArn
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorArn(Aws::String &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:77
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationState
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationState(const Aws::String &value)
Definition: ElasticInferenceAcceleratorAssociation.h:154
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorArn
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorArn(const Aws::String &value)
Definition: ElasticInferenceAcceleratorAssociation.h:72
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::operator=
ElasticInferenceAcceleratorAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationTime
void SetElasticInferenceAcceleratorAssociationTime(Aws::Utils::DateTime &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:189
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationId
void SetElasticInferenceAcceleratorAssociationId(const Aws::String &value)
Definition: ElasticInferenceAcceleratorAssociation.h:98
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation
Definition: ElasticInferenceAcceleratorAssociation.h:34
AWSString.h
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationTime
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationTime(Aws::Utils::DateTime &&value)
Definition: ElasticInferenceAcceleratorAssociation.h:201
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationId
void SetElasticInferenceAcceleratorAssociationId(const char *value)
Definition: ElasticInferenceAcceleratorAssociation.h:108
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::ElasticInferenceAcceleratorAssociation
ElasticInferenceAcceleratorAssociation()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::ElasticInferenceAcceleratorAssociation
ElasticInferenceAcceleratorAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::ElasticInferenceAcceleratorAssociationStateHasBeenSet
bool ElasticInferenceAcceleratorAssociationStateHasBeenSet() const
Definition: ElasticInferenceAcceleratorAssociation.h:134
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::WithElasticInferenceAcceleratorAssociationState
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationState(const char *value)
Definition: ElasticInferenceAcceleratorAssociation.h:164
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationState
void SetElasticInferenceAcceleratorAssociationState(const Aws::String &value)
Definition: ElasticInferenceAcceleratorAssociation.h:139
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::ElasticInferenceAcceleratorAssociation::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorAssociationState
void SetElasticInferenceAcceleratorAssociationState(const char *value)
Definition: ElasticInferenceAcceleratorAssociation.h:149
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::GetElasticInferenceAcceleratorArn
const Aws::String & GetElasticInferenceAcceleratorArn() const
Definition: ElasticInferenceAcceleratorAssociation.h:47
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::GetElasticInferenceAcceleratorAssociationId
const Aws::String & GetElasticInferenceAcceleratorAssociationId() const
Definition: ElasticInferenceAcceleratorAssociation.h:88
EC2_EXPORTS.h
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation::SetElasticInferenceAcceleratorArn
void SetElasticInferenceAcceleratorArn(const Aws::String &value)
Definition: ElasticInferenceAcceleratorAssociation.h:57