AWS SDK for C++  1.9.65
AWS SDK for C++
ExportTransitGatewayRoutesResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetS3Location() const{ return m_s3Location; }
41 
46  inline void SetS3Location(const Aws::String& value) { m_s3Location = value; }
47 
52  inline void SetS3Location(Aws::String&& value) { m_s3Location = std::move(value); }
53 
58  inline void SetS3Location(const char* value) { m_s3Location.assign(value); }
59 
64  inline ExportTransitGatewayRoutesResponse& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;}
65 
70  inline ExportTransitGatewayRoutesResponse& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;}
71 
76  inline ExportTransitGatewayRoutesResponse& WithS3Location(const char* value) { SetS3Location(value); return *this;}
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline ExportTransitGatewayRoutesResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline ExportTransitGatewayRoutesResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::String m_s3Location;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace EC2
103 } // namespace Aws
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::WithS3Location
ExportTransitGatewayRoutesResponse & WithS3Location(const char *value)
Definition: ExportTransitGatewayRoutesResponse.h:76
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::SetS3Location
void SetS3Location(const Aws::String &value)
Definition: ExportTransitGatewayRoutesResponse.h:46
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::SetS3Location
void SetS3Location(const char *value)
Definition: ExportTransitGatewayRoutesResponse.h:58
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::operator=
ExportTransitGatewayRoutesResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::SetS3Location
void SetS3Location(Aws::String &&value)
Definition: ExportTransitGatewayRoutesResponse.h:52
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ExportTransitGatewayRoutesResponse.h:80
Aws::EC2::Model::ExportTransitGatewayRoutesResponse
Definition: ExportTransitGatewayRoutesResponse.h:29
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::GetS3Location
const Aws::String & GetS3Location() const
Definition: ExportTransitGatewayRoutesResponse.h:40
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::WithResponseMetadata
ExportTransitGatewayRoutesResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ExportTransitGatewayRoutesResponse.h:89
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::WithS3Location
ExportTransitGatewayRoutesResponse & WithS3Location(const Aws::String &value)
Definition: ExportTransitGatewayRoutesResponse.h:64
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::WithS3Location
ExportTransitGatewayRoutesResponse & WithS3Location(Aws::String &&value)
Definition: ExportTransitGatewayRoutesResponse.h:70
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ExportTransitGatewayRoutesResponse.h:83
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ExportTransitGatewayRoutesResponse.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::WithResponseMetadata
ExportTransitGatewayRoutesResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ExportTransitGatewayRoutesResponse.h:92
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::ExportTransitGatewayRoutesResponse
ExportTransitGatewayRoutesResponse()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
EC2_EXPORTS.h
Aws::EC2::Model::ExportTransitGatewayRoutesResponse::ExportTransitGatewayRoutesResponse
ExportTransitGatewayRoutesResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)