AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticGpuAssociation.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_EC2_API ElasticGpuAssociation();
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetElasticGpuId() const{ return m_elasticGpuId; }
49 inline bool ElasticGpuIdHasBeenSet() const { return m_elasticGpuIdHasBeenSet; }
50 inline void SetElasticGpuId(const Aws::String& value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId = value; }
51 inline void SetElasticGpuId(Aws::String&& value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId = std::move(value); }
52 inline void SetElasticGpuId(const char* value) { m_elasticGpuIdHasBeenSet = true; m_elasticGpuId.assign(value); }
53 inline ElasticGpuAssociation& WithElasticGpuId(const Aws::String& value) { SetElasticGpuId(value); return *this;}
54 inline ElasticGpuAssociation& WithElasticGpuId(Aws::String&& value) { SetElasticGpuId(std::move(value)); return *this;}
55 inline ElasticGpuAssociation& WithElasticGpuId(const char* value) { SetElasticGpuId(value); return *this;}
57
59
62 inline const Aws::String& GetElasticGpuAssociationId() const{ return m_elasticGpuAssociationId; }
63 inline bool ElasticGpuAssociationIdHasBeenSet() const { return m_elasticGpuAssociationIdHasBeenSet; }
64 inline void SetElasticGpuAssociationId(const Aws::String& value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId = value; }
65 inline void SetElasticGpuAssociationId(Aws::String&& value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId = std::move(value); }
66 inline void SetElasticGpuAssociationId(const char* value) { m_elasticGpuAssociationIdHasBeenSet = true; m_elasticGpuAssociationId.assign(value); }
69 inline ElasticGpuAssociation& WithElasticGpuAssociationId(const char* value) { SetElasticGpuAssociationId(value); return *this;}
71
73
77 inline const Aws::String& GetElasticGpuAssociationState() const{ return m_elasticGpuAssociationState; }
78 inline bool ElasticGpuAssociationStateHasBeenSet() const { return m_elasticGpuAssociationStateHasBeenSet; }
79 inline void SetElasticGpuAssociationState(const Aws::String& value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState = value; }
80 inline void SetElasticGpuAssociationState(Aws::String&& value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState = std::move(value); }
81 inline void SetElasticGpuAssociationState(const char* value) { m_elasticGpuAssociationStateHasBeenSet = true; m_elasticGpuAssociationState.assign(value); }
86
88
92 inline const Aws::String& GetElasticGpuAssociationTime() const{ return m_elasticGpuAssociationTime; }
93 inline bool ElasticGpuAssociationTimeHasBeenSet() const { return m_elasticGpuAssociationTimeHasBeenSet; }
94 inline void SetElasticGpuAssociationTime(const Aws::String& value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime = value; }
95 inline void SetElasticGpuAssociationTime(Aws::String&& value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime = std::move(value); }
96 inline void SetElasticGpuAssociationTime(const char* value) { m_elasticGpuAssociationTimeHasBeenSet = true; m_elasticGpuAssociationTime.assign(value); }
99 inline ElasticGpuAssociation& WithElasticGpuAssociationTime(const char* value) { SetElasticGpuAssociationTime(value); return *this;}
101 private:
102
103 Aws::String m_elasticGpuId;
104 bool m_elasticGpuIdHasBeenSet = false;
105
106 Aws::String m_elasticGpuAssociationId;
107 bool m_elasticGpuAssociationIdHasBeenSet = false;
108
109 Aws::String m_elasticGpuAssociationState;
110 bool m_elasticGpuAssociationStateHasBeenSet = false;
111
112 Aws::String m_elasticGpuAssociationTime;
113 bool m_elasticGpuAssociationTimeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace EC2
118} // namespace Aws
ElasticGpuAssociation & WithElasticGpuAssociationTime(const char *value)
void SetElasticGpuAssociationTime(const char *value)
const Aws::String & GetElasticGpuAssociationState() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetElasticGpuAssociationState(const Aws::String &value)
void SetElasticGpuAssociationState(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetElasticGpuId(const Aws::String &value)
ElasticGpuAssociation & WithElasticGpuAssociationId(const Aws::String &value)
void SetElasticGpuAssociationId(const Aws::String &value)
const Aws::String & GetElasticGpuAssociationId() const
AWS_EC2_API ElasticGpuAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ElasticGpuAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
ElasticGpuAssociation & WithElasticGpuAssociationState(const Aws::String &value)
void SetElasticGpuAssociationId(Aws::String &&value)
ElasticGpuAssociation & WithElasticGpuAssociationId(Aws::String &&value)
const Aws::String & GetElasticGpuAssociationTime() const
void SetElasticGpuAssociationState(Aws::String &&value)
ElasticGpuAssociation & WithElasticGpuAssociationTime(const Aws::String &value)
ElasticGpuAssociation & WithElasticGpuAssociationState(const char *value)
ElasticGpuAssociation & WithElasticGpuId(const Aws::String &value)
ElasticGpuAssociation & WithElasticGpuAssociationState(Aws::String &&value)
const Aws::String & GetElasticGpuId() const
ElasticGpuAssociation & WithElasticGpuId(const char *value)
void SetElasticGpuAssociationTime(Aws::String &&value)
ElasticGpuAssociation & WithElasticGpuId(Aws::String &&value)
ElasticGpuAssociation & WithElasticGpuAssociationId(const char *value)
ElasticGpuAssociation & WithElasticGpuAssociationTime(Aws::String &&value)
void SetElasticGpuAssociationTime(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