AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityReservationTargetResponse.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
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetCapacityReservationId() const{ return m_capacityReservationId; }
48 inline bool CapacityReservationIdHasBeenSet() const { return m_capacityReservationIdHasBeenSet; }
49 inline void SetCapacityReservationId(const Aws::String& value) { m_capacityReservationIdHasBeenSet = true; m_capacityReservationId = value; }
50 inline void SetCapacityReservationId(Aws::String&& value) { m_capacityReservationIdHasBeenSet = true; m_capacityReservationId = std::move(value); }
51 inline void SetCapacityReservationId(const char* value) { m_capacityReservationIdHasBeenSet = true; m_capacityReservationId.assign(value); }
56
58
61 inline const Aws::String& GetCapacityReservationResourceGroupArn() const{ return m_capacityReservationResourceGroupArn; }
62 inline bool CapacityReservationResourceGroupArnHasBeenSet() const { return m_capacityReservationResourceGroupArnHasBeenSet; }
63 inline void SetCapacityReservationResourceGroupArn(const Aws::String& value) { m_capacityReservationResourceGroupArnHasBeenSet = true; m_capacityReservationResourceGroupArn = value; }
64 inline void SetCapacityReservationResourceGroupArn(Aws::String&& value) { m_capacityReservationResourceGroupArnHasBeenSet = true; m_capacityReservationResourceGroupArn = std::move(value); }
65 inline void SetCapacityReservationResourceGroupArn(const char* value) { m_capacityReservationResourceGroupArnHasBeenSet = true; m_capacityReservationResourceGroupArn.assign(value); }
70 private:
71
72 Aws::String m_capacityReservationId;
73 bool m_capacityReservationIdHasBeenSet = false;
74
75 Aws::String m_capacityReservationResourceGroupArn;
76 bool m_capacityReservationResourceGroupArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
AWS_EC2_API CapacityReservationTargetResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CapacityReservationTargetResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationTargetResponse & WithCapacityReservationId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CapacityReservationTargetResponse & WithCapacityReservationResourceGroupArn(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CapacityReservationTargetResponse & WithCapacityReservationId(const Aws::String &value)
CapacityReservationTargetResponse & WithCapacityReservationId(Aws::String &&value)
CapacityReservationTargetResponse & WithCapacityReservationResourceGroupArn(const Aws::String &value)
CapacityReservationTargetResponse & WithCapacityReservationResourceGroupArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream