AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunScheduledInstancesResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
35 {
36 public:
40
41
43
46 inline const Aws::Vector<Aws::String>& GetInstanceIdSet() const{ return m_instanceIdSet; }
47 inline void SetInstanceIdSet(const Aws::Vector<Aws::String>& value) { m_instanceIdSet = value; }
48 inline void SetInstanceIdSet(Aws::Vector<Aws::String>&& value) { m_instanceIdSet = std::move(value); }
51 inline RunScheduledInstancesResponse& AddInstanceIdSet(const Aws::String& value) { m_instanceIdSet.push_back(value); return *this; }
52 inline RunScheduledInstancesResponse& AddInstanceIdSet(Aws::String&& value) { m_instanceIdSet.push_back(std::move(value)); return *this; }
53 inline RunScheduledInstancesResponse& AddInstanceIdSet(const char* value) { m_instanceIdSet.push_back(value); return *this; }
55
57
58 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
59 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
60 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
64 private:
65
66 Aws::Vector<Aws::String> m_instanceIdSet;
67
68 ResponseMetadata m_responseMetadata;
69 };
70
71} // namespace Model
72} // namespace EC2
73} // namespace Aws
AWS_EC2_API RunScheduledInstancesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RunScheduledInstancesResponse & WithInstanceIdSet(Aws::Vector< Aws::String > &&value)
RunScheduledInstancesResponse & AddInstanceIdSet(Aws::String &&value)
RunScheduledInstancesResponse & AddInstanceIdSet(const char *value)
void SetInstanceIdSet(Aws::Vector< Aws::String > &&value)
RunScheduledInstancesResponse & AddInstanceIdSet(const Aws::String &value)
void SetInstanceIdSet(const Aws::Vector< Aws::String > &value)
RunScheduledInstancesResponse & WithResponseMetadata(ResponseMetadata &&value)
RunScheduledInstancesResponse & WithInstanceIdSet(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetInstanceIdSet() const
AWS_EC2_API RunScheduledInstancesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RunScheduledInstancesResponse & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument