AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduledInstancesPlacement.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& GetAvailabilityZone() const{ return m_availabilityZone; }
48 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
49 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
50 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
51 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
53 inline ScheduledInstancesPlacement& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
54 inline ScheduledInstancesPlacement& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
56
58
61 inline const Aws::String& GetGroupName() const{ return m_groupName; }
62 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
63 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
64 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
65 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
66 inline ScheduledInstancesPlacement& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
67 inline ScheduledInstancesPlacement& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
68 inline ScheduledInstancesPlacement& WithGroupName(const char* value) { SetGroupName(value); return *this;}
70 private:
71
72 Aws::String m_availabilityZone;
73 bool m_availabilityZoneHasBeenSet = false;
74
75 Aws::String m_groupName;
76 bool m_groupNameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
ScheduledInstancesPlacement & WithAvailabilityZone(Aws::String &&value)
ScheduledInstancesPlacement & WithGroupName(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ScheduledInstancesPlacement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ScheduledInstancesPlacement(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledInstancesPlacement & WithGroupName(const char *value)
ScheduledInstancesPlacement & WithAvailabilityZone(const Aws::String &value)
ScheduledInstancesPlacement & WithGroupName(const Aws::String &value)
ScheduledInstancesPlacement & WithAvailabilityZone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream