7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/CapacityManagerStatus.h>
11#include <aws/ec2/model/IngestionStatus.h>
12#include <aws/ec2/model/ResponseMetadata.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 m_capacityManagerStatusHasBeenSet =
true;
40 m_capacityManagerStatus = value;
55 m_organizationsAccessHasBeenSet =
true;
56 m_organizationsAccess = value;
71 m_dataExportCountHasBeenSet =
true;
72 m_dataExportCount = value;
87 m_ingestionStatusHasBeenSet =
true;
88 m_ingestionStatus = value;
103 template <
typename IngestionStatusMessageT = Aws::String>
105 m_ingestionStatusMessageHasBeenSet =
true;
106 m_ingestionStatusMessage = std::forward<IngestionStatusMessageT>(value);
108 template <
typename IngestionStatusMessageT = Aws::String>
122 template <
typename EarliestDatapo
intTimestampT = Aws::Utils::DateTime>
124 m_earliestDatapointTimestampHasBeenSet =
true;
125 m_earliestDatapointTimestamp = std::forward<EarliestDatapointTimestampT>(value);
127 template <
typename EarliestDatapo
intTimestampT = Aws::Utils::DateTime>
140 template <
typename LatestDatapo
intTimestampT = Aws::Utils::DateTime>
142 m_latestDatapointTimestampHasBeenSet =
true;
143 m_latestDatapointTimestamp = std::forward<LatestDatapointTimestampT>(value);
145 template <
typename LatestDatapo
intTimestampT = Aws::Utils::DateTime>
155 template <
typename ResponseMetadataT = ResponseMetadata>
157 m_responseMetadataHasBeenSet =
true;
158 m_responseMetadata = std::forward<ResponseMetadataT>(value);
160 template <
typename ResponseMetadataT = ResponseMetadata>
169 bool m_organizationsAccess{
false};
171 int m_dataExportCount{0};
181 ResponseMetadata m_responseMetadata;
182 bool m_capacityManagerStatusHasBeenSet =
false;
183 bool m_organizationsAccessHasBeenSet =
false;
184 bool m_dataExportCountHasBeenSet =
false;
185 bool m_ingestionStatusHasBeenSet =
false;
186 bool m_ingestionStatusMessageHasBeenSet =
false;
187 bool m_earliestDatapointTimestampHasBeenSet =
false;
188 bool m_latestDatapointTimestampHasBeenSet =
false;
189 bool m_responseMetadataHasBeenSet =
false;
void SetEarliestDatapointTimestamp(EarliestDatapointTimestampT &&value)
GetCapacityManagerAttributesResponse & WithLatestDatapointTimestamp(LatestDatapointTimestampT &&value)
void SetIngestionStatusMessage(IngestionStatusMessageT &&value)
GetCapacityManagerAttributesResponse & WithOrganizationsAccess(bool value)
const Aws::Utils::DateTime & GetEarliestDatapointTimestamp() const
void SetIngestionStatus(IngestionStatus value)
CapacityManagerStatus GetCapacityManagerStatus() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API GetCapacityManagerAttributesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetCapacityManagerAttributesResponse & WithIngestionStatus(IngestionStatus value)
void SetCapacityManagerStatus(CapacityManagerStatus value)
GetCapacityManagerAttributesResponse & WithDataExportCount(int value)
void SetDataExportCount(int value)
GetCapacityManagerAttributesResponse & WithResponseMetadata(ResponseMetadataT &&value)
GetCapacityManagerAttributesResponse & WithEarliestDatapointTimestamp(EarliestDatapointTimestampT &&value)
void SetOrganizationsAccess(bool value)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API GetCapacityManagerAttributesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetCapacityManagerAttributesResponse & WithIngestionStatusMessage(IngestionStatusMessageT &&value)
AWS_EC2_API GetCapacityManagerAttributesResponse()=default
const Aws::Utils::DateTime & GetLatestDatapointTimestamp() const
void SetLatestDatapointTimestamp(LatestDatapointTimestampT &&value)
const Aws::String & GetIngestionStatusMessage() const
bool GetOrganizationsAccess() const
GetCapacityManagerAttributesResponse & WithCapacityManagerStatus(CapacityManagerStatus value)
IngestionStatus GetIngestionStatus() const
int GetDataExportCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument