AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticInferenceAcceleratorAssociation.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetElasticInferenceAcceleratorArn() const{ return m_elasticInferenceAcceleratorArn; }
50 inline bool ElasticInferenceAcceleratorArnHasBeenSet() const { return m_elasticInferenceAcceleratorArnHasBeenSet; }
51 inline void SetElasticInferenceAcceleratorArn(const Aws::String& value) { m_elasticInferenceAcceleratorArnHasBeenSet = true; m_elasticInferenceAcceleratorArn = value; }
52 inline void SetElasticInferenceAcceleratorArn(Aws::String&& value) { m_elasticInferenceAcceleratorArnHasBeenSet = true; m_elasticInferenceAcceleratorArn = std::move(value); }
53 inline void SetElasticInferenceAcceleratorArn(const char* value) { m_elasticInferenceAcceleratorArnHasBeenSet = true; m_elasticInferenceAcceleratorArn.assign(value); }
58
60
63 inline const Aws::String& GetElasticInferenceAcceleratorAssociationId() const{ return m_elasticInferenceAcceleratorAssociationId; }
64 inline bool ElasticInferenceAcceleratorAssociationIdHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationIdHasBeenSet; }
65 inline void SetElasticInferenceAcceleratorAssociationId(const Aws::String& value) { m_elasticInferenceAcceleratorAssociationIdHasBeenSet = true; m_elasticInferenceAcceleratorAssociationId = value; }
66 inline void SetElasticInferenceAcceleratorAssociationId(Aws::String&& value) { m_elasticInferenceAcceleratorAssociationIdHasBeenSet = true; m_elasticInferenceAcceleratorAssociationId = std::move(value); }
67 inline void SetElasticInferenceAcceleratorAssociationId(const char* value) { m_elasticInferenceAcceleratorAssociationIdHasBeenSet = true; m_elasticInferenceAcceleratorAssociationId.assign(value); }
72
74
77 inline const Aws::String& GetElasticInferenceAcceleratorAssociationState() const{ return m_elasticInferenceAcceleratorAssociationState; }
78 inline bool ElasticInferenceAcceleratorAssociationStateHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationStateHasBeenSet; }
79 inline void SetElasticInferenceAcceleratorAssociationState(const Aws::String& value) { m_elasticInferenceAcceleratorAssociationStateHasBeenSet = true; m_elasticInferenceAcceleratorAssociationState = value; }
80 inline void SetElasticInferenceAcceleratorAssociationState(Aws::String&& value) { m_elasticInferenceAcceleratorAssociationStateHasBeenSet = true; m_elasticInferenceAcceleratorAssociationState = std::move(value); }
81 inline void SetElasticInferenceAcceleratorAssociationState(const char* value) { m_elasticInferenceAcceleratorAssociationStateHasBeenSet = true; m_elasticInferenceAcceleratorAssociationState.assign(value); }
86
88
92 inline const Aws::Utils::DateTime& GetElasticInferenceAcceleratorAssociationTime() const{ return m_elasticInferenceAcceleratorAssociationTime; }
93 inline bool ElasticInferenceAcceleratorAssociationTimeHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationTimeHasBeenSet; }
94 inline void SetElasticInferenceAcceleratorAssociationTime(const Aws::Utils::DateTime& value) { m_elasticInferenceAcceleratorAssociationTimeHasBeenSet = true; m_elasticInferenceAcceleratorAssociationTime = value; }
95 inline void SetElasticInferenceAcceleratorAssociationTime(Aws::Utils::DateTime&& value) { m_elasticInferenceAcceleratorAssociationTimeHasBeenSet = true; m_elasticInferenceAcceleratorAssociationTime = std::move(value); }
99 private:
100
101 Aws::String m_elasticInferenceAcceleratorArn;
102 bool m_elasticInferenceAcceleratorArnHasBeenSet = false;
103
104 Aws::String m_elasticInferenceAcceleratorAssociationId;
105 bool m_elasticInferenceAcceleratorAssociationIdHasBeenSet = false;
106
107 Aws::String m_elasticInferenceAcceleratorAssociationState;
108 bool m_elasticInferenceAcceleratorAssociationStateHasBeenSet = false;
109
110 Aws::Utils::DateTime m_elasticInferenceAcceleratorAssociationTime;
111 bool m_elasticInferenceAcceleratorAssociationTimeHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace EC2
116} // namespace Aws
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationId(Aws::String &&value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationState(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API ElasticInferenceAcceleratorAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ElasticInferenceAcceleratorAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationTime(Aws::Utils::DateTime &&value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorArn(const Aws::String &value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationId(const char *value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationState(const char *value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationState(Aws::String &&value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorArn(const char *value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorArn(Aws::String &&value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationTime(const Aws::Utils::DateTime &value)
ElasticInferenceAcceleratorAssociation & WithElasticInferenceAcceleratorAssociationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream