AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFlowLogsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/UnsuccessfulItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
47 inline CreateFlowLogsResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline CreateFlowLogsResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline CreateFlowLogsResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetFlowLogIds() const{ return m_flowLogIds; }
57 inline void SetFlowLogIds(const Aws::Vector<Aws::String>& value) { m_flowLogIds = value; }
58 inline void SetFlowLogIds(Aws::Vector<Aws::String>&& value) { m_flowLogIds = std::move(value); }
59 inline CreateFlowLogsResponse& WithFlowLogIds(const Aws::Vector<Aws::String>& value) { SetFlowLogIds(value); return *this;}
60 inline CreateFlowLogsResponse& WithFlowLogIds(Aws::Vector<Aws::String>&& value) { SetFlowLogIds(std::move(value)); return *this;}
61 inline CreateFlowLogsResponse& AddFlowLogIds(const Aws::String& value) { m_flowLogIds.push_back(value); return *this; }
62 inline CreateFlowLogsResponse& AddFlowLogIds(Aws::String&& value) { m_flowLogIds.push_back(std::move(value)); return *this; }
63 inline CreateFlowLogsResponse& AddFlowLogIds(const char* value) { m_flowLogIds.push_back(value); return *this; }
65
67
70 inline const Aws::Vector<UnsuccessfulItem>& GetUnsuccessful() const{ return m_unsuccessful; }
71 inline void SetUnsuccessful(const Aws::Vector<UnsuccessfulItem>& value) { m_unsuccessful = value; }
72 inline void SetUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { m_unsuccessful = std::move(value); }
74 inline CreateFlowLogsResponse& WithUnsuccessful(Aws::Vector<UnsuccessfulItem>&& value) { SetUnsuccessful(std::move(value)); return *this;}
75 inline CreateFlowLogsResponse& AddUnsuccessful(const UnsuccessfulItem& value) { m_unsuccessful.push_back(value); return *this; }
76 inline CreateFlowLogsResponse& AddUnsuccessful(UnsuccessfulItem&& value) { m_unsuccessful.push_back(std::move(value)); return *this; }
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 inline CreateFlowLogsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_clientToken;
90
91 Aws::Vector<Aws::String> m_flowLogIds;
92
93 Aws::Vector<UnsuccessfulItem> m_unsuccessful;
94
95 ResponseMetadata m_responseMetadata;
96 };
97
98} // namespace Model
99} // namespace EC2
100} // namespace Aws
void SetFlowLogIds(Aws::Vector< Aws::String > &&value)
CreateFlowLogsResponse & WithUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
const Aws::Vector< Aws::String > & GetFlowLogIds() const
void SetFlowLogIds(const Aws::Vector< Aws::String > &value)
CreateFlowLogsResponse & WithClientToken(const char *value)
void SetUnsuccessful(Aws::Vector< UnsuccessfulItem > &&value)
CreateFlowLogsResponse & WithClientToken(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
CreateFlowLogsResponse & AddFlowLogIds(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
CreateFlowLogsResponse & WithFlowLogIds(const Aws::Vector< Aws::String > &value)
CreateFlowLogsResponse & WithUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
CreateFlowLogsResponse & AddUnsuccessful(UnsuccessfulItem &&value)
void SetClientToken(const Aws::String &value)
CreateFlowLogsResponse & AddUnsuccessful(const UnsuccessfulItem &value)
CreateFlowLogsResponse & AddFlowLogIds(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
CreateFlowLogsResponse & WithClientToken(const Aws::String &value)
const Aws::Vector< UnsuccessfulItem > & GetUnsuccessful() const
void SetUnsuccessful(const Aws::Vector< UnsuccessfulItem > &value)
CreateFlowLogsResponse & WithFlowLogIds(Aws::Vector< Aws::String > &&value)
AWS_EC2_API CreateFlowLogsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateFlowLogsResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API CreateFlowLogsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateFlowLogsResponse & AddFlowLogIds(const char *value)
CreateFlowLogsResponse & 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