AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFleetHistoryResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/HistoryRecordEntry.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace EC2
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::Vector<HistoryRecordEntry>& GetHistoryRecords() const{ return m_historyRecords; }
44 inline void SetHistoryRecords(const Aws::Vector<HistoryRecordEntry>& value) { m_historyRecords = value; }
45 inline void SetHistoryRecords(Aws::Vector<HistoryRecordEntry>&& value) { m_historyRecords = std::move(value); }
48 inline DescribeFleetHistoryResponse& AddHistoryRecords(const HistoryRecordEntry& value) { m_historyRecords.push_back(value); return *this; }
49 inline DescribeFleetHistoryResponse& AddHistoryRecords(HistoryRecordEntry&& value) { m_historyRecords.push_back(std::move(value)); return *this; }
51
53
59 inline const Aws::Utils::DateTime& GetLastEvaluatedTime() const{ return m_lastEvaluatedTime; }
60 inline void SetLastEvaluatedTime(const Aws::Utils::DateTime& value) { m_lastEvaluatedTime = value; }
61 inline void SetLastEvaluatedTime(Aws::Utils::DateTime&& value) { m_lastEvaluatedTime = std::move(value); }
65
67
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline DescribeFleetHistoryResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline DescribeFleetHistoryResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline DescribeFleetHistoryResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
84 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
85 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
86 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
87 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
88 inline DescribeFleetHistoryResponse& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
89 inline DescribeFleetHistoryResponse& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
90 inline DescribeFleetHistoryResponse& WithFleetId(const char* value) { SetFleetId(value); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
99 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
100 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
102 inline DescribeFleetHistoryResponse& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
104
106
107 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
108 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
109 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
113 private:
114
115 Aws::Vector<HistoryRecordEntry> m_historyRecords;
116
117 Aws::Utils::DateTime m_lastEvaluatedTime;
118
119 Aws::String m_nextToken;
120
121 Aws::String m_fleetId;
122
123 Aws::Utils::DateTime m_startTime;
124
125 ResponseMetadata m_responseMetadata;
126 };
127
128} // namespace Model
129} // namespace EC2
130} // namespace Aws
DescribeFleetHistoryResponse & WithLastEvaluatedTime(Aws::Utils::DateTime &&value)
DescribeFleetHistoryResponse & WithStartTime(Aws::Utils::DateTime &&value)
AWS_EC2_API DescribeFleetHistoryResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeFleetHistoryResponse & WithStartTime(const Aws::Utils::DateTime &value)
DescribeFleetHistoryResponse & WithHistoryRecords(const Aws::Vector< HistoryRecordEntry > &value)
DescribeFleetHistoryResponse & WithFleetId(const Aws::String &value)
DescribeFleetHistoryResponse & WithNextToken(const Aws::String &value)
AWS_EC2_API DescribeFleetHistoryResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetLastEvaluatedTime(const Aws::Utils::DateTime &value)
DescribeFleetHistoryResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeFleetHistoryResponse & WithNextToken(Aws::String &&value)
DescribeFleetHistoryResponse & WithLastEvaluatedTime(const Aws::Utils::DateTime &value)
DescribeFleetHistoryResponse & AddHistoryRecords(HistoryRecordEntry &&value)
DescribeFleetHistoryResponse & WithHistoryRecords(Aws::Vector< HistoryRecordEntry > &&value)
DescribeFleetHistoryResponse & AddHistoryRecords(const HistoryRecordEntry &value)
const Aws::Vector< HistoryRecordEntry > & GetHistoryRecords() const
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeFleetHistoryResponse & WithFleetId(const char *value)
void SetHistoryRecords(Aws::Vector< HistoryRecordEntry > &&value)
DescribeFleetHistoryResponse & WithFleetId(Aws::String &&value)
void SetHistoryRecords(const Aws::Vector< HistoryRecordEntry > &value)
const Aws::Utils::DateTime & GetLastEvaluatedTime() const
DescribeFleetHistoryResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeFleetHistoryResponse & WithNextToken(const char *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