AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReservedInstancesModificationResponse.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/ec2/model/ReservedInstancesConfiguration.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
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
49 inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; }
50 inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; }
51 inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; }
52 inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); }
53 inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); }
58
60
64 inline const ReservedInstancesConfiguration& GetTargetConfiguration() const{ return m_targetConfiguration; }
65 inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; }
66 inline void SetTargetConfiguration(const ReservedInstancesConfiguration& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = value; }
67 inline void SetTargetConfiguration(ReservedInstancesConfiguration&& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = std::move(value); }
71 private:
72
73 Aws::String m_reservedInstancesId;
74 bool m_reservedInstancesIdHasBeenSet = false;
75
76 ReservedInstancesConfiguration m_targetConfiguration;
77 bool m_targetConfigurationHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
ReservedInstancesModificationResponse & WithTargetConfiguration(const ReservedInstancesConfiguration &value)
ReservedInstancesModificationResponse & WithReservedInstancesId(const char *value)
ReservedInstancesModificationResponse & WithReservedInstancesId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ReservedInstancesModificationResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedInstancesModificationResponse & WithReservedInstancesId(const Aws::String &value)
AWS_EC2_API ReservedInstancesModificationResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedInstancesModificationResponse & WithTargetConfiguration(ReservedInstancesConfiguration &&value)
const ReservedInstancesConfiguration & GetTargetConfiguration() const
void SetTargetConfiguration(const ReservedInstancesConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream