7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ReportStatusType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/ec2/model/ReportInstanceReasonCodes.h>
52 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
62 template<
typename InstancesT = Aws::Vector<Aws::String>>
63 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances = std::forward<InstancesT>(value); }
64 template<
typename InstancesT = Aws::Vector<Aws::String>>
66 template<
typename InstancesT = Aws::String>
86 template<
typename StartTimeT = Aws::Utils::DateTime>
87 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
88 template<
typename StartTimeT = Aws::Utils::DateTime>
98 template<
typename EndTimeT = Aws::Utils::DateTime>
99 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
100 template<
typename EndTimeT = Aws::Utils::DateTime>
124 template<
typename ReasonCodesT = Aws::Vector<ReportInstanceReasonCodes>>
125 void SetReasonCodes(ReasonCodesT&& value) { m_reasonCodesHasBeenSet =
true; m_reasonCodes = std::forward<ReasonCodesT>(value); }
126 template<
typename ReasonCodesT = Aws::Vector<ReportInstanceReasonCodes>>
132 bool m_dryRun{
false};
133 bool m_dryRunHasBeenSet =
false;
136 bool m_instancesHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_startTimeHasBeenSet =
false;
145 bool m_endTimeHasBeenSet =
false;
148 bool m_reasonCodesHasBeenSet =
false;
ReportInstanceStatusRequest & AddInstances(InstancesT &&value)
ReportInstanceStatusRequest & WithDryRun(bool value)
bool StartTimeHasBeenSet() const
AWS_EC2_API ReportInstanceStatusRequest()=default
bool EndTimeHasBeenSet() const
ReportInstanceStatusRequest & WithInstances(InstancesT &&value)
void SetEndTime(EndTimeT &&value)
void SetInstances(InstancesT &&value)
ReportInstanceStatusRequest & WithEndTime(EndTimeT &&value)
void SetStatus(ReportStatusType value)
void SetDryRun(bool value)
ReportInstanceStatusRequest & AddReasonCodes(ReportInstanceReasonCodes value)
void SetStartTime(StartTimeT &&value)
ReportStatusType GetStatus() const
void SetReasonCodes(ReasonCodesT &&value)
ReportInstanceStatusRequest & WithReasonCodes(ReasonCodesT &&value)
bool InstancesHasBeenSet() const
const Aws::Vector< ReportInstanceReasonCodes > & GetReasonCodes() const
const Aws::Vector< Aws::String > & GetInstances() const
virtual const char * GetServiceRequestName() const override
bool ReasonCodesHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetStartTime() const
bool DryRunHasBeenSet() const
bool StatusHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ReportInstanceStatusRequest & WithStartTime(StartTimeT &&value)
ReportInstanceStatusRequest & WithStatus(ReportStatusType value)
ReportInstanceReasonCodes
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector