7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/UnsuccessfulItem.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename ClientTokenT = Aws::String>
40 m_clientTokenHasBeenSet =
true;
41 m_clientToken = std::forward<ClientTokenT>(value);
43 template <
typename ClientTokenT = Aws::String>
55 template <
typename FlowLogIdsT = Aws::Vector<Aws::String>>
57 m_flowLogIdsHasBeenSet =
true;
58 m_flowLogIds = std::forward<FlowLogIdsT>(value);
60 template <
typename FlowLogIdsT = Aws::Vector<Aws::String>>
65 template <
typename FlowLogIdsT = Aws::String>
67 m_flowLogIdsHasBeenSet =
true;
68 m_flowLogIds.emplace_back(std::forward<FlowLogIdsT>(value));
78 template <
typename UnsuccessfulT = Aws::Vector<UnsuccessfulItem>>
80 m_unsuccessfulHasBeenSet =
true;
81 m_unsuccessful = std::forward<UnsuccessfulT>(value);
83 template <
typename UnsuccessfulT = Aws::Vector<UnsuccessfulItem>>
88 template <
typename UnsuccessfulT = UnsuccessfulItem>
90 m_unsuccessfulHasBeenSet =
true;
91 m_unsuccessful.emplace_back(std::forward<UnsuccessfulT>(value));
99 template <
typename ResponseMetadataT = ResponseMetadata>
101 m_responseMetadataHasBeenSet =
true;
102 m_responseMetadata = std::forward<ResponseMetadataT>(value);
104 template <
typename ResponseMetadataT = ResponseMetadata>
118 bool m_clientTokenHasBeenSet =
false;
119 bool m_flowLogIdsHasBeenSet =
false;
120 bool m_unsuccessfulHasBeenSet =
false;
121 bool m_responseMetadataHasBeenSet =
false;
CreateFlowLogsResponse & WithFlowLogIds(FlowLogIdsT &&value)
CreateFlowLogsResponse & AddUnsuccessful(UnsuccessfulT &&value)
CreateFlowLogsResponse & WithUnsuccessful(UnsuccessfulT &&value)
void SetUnsuccessful(UnsuccessfulT &&value)
const Aws::Vector< Aws::String > & GetFlowLogIds() const
CreateFlowLogsResponse & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
CreateFlowLogsResponse & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetClientToken() const
const ResponseMetadata & GetResponseMetadata() const
void SetFlowLogIds(FlowLogIdsT &&value)
CreateFlowLogsResponse & AddFlowLogIds(FlowLogIdsT &&value)
const Aws::Vector< UnsuccessfulItem > & GetUnsuccessful() const
AWS_EC2_API CreateFlowLogsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API CreateFlowLogsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API CreateFlowLogsResponse()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument