AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeLocationEfsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace DataSync
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
46 
50  inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
51 
55  inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
56 
60  inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
61 
65  inline DescribeLocationEfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
66 
70  inline DescribeLocationEfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
71 
75  inline DescribeLocationEfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
82 
86  inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
87 
91  inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
92 
96  inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
97 
101  inline DescribeLocationEfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
102 
106  inline DescribeLocationEfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
107 
111  inline DescribeLocationEfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
112 
113 
114 
115  inline const Ec2Config& GetEc2Config() const{ return m_ec2Config; }
116 
117 
118  inline void SetEc2Config(const Ec2Config& value) { m_ec2Config = value; }
119 
120 
121  inline void SetEc2Config(Ec2Config&& value) { m_ec2Config = std::move(value); }
122 
123 
124  inline DescribeLocationEfsResult& WithEc2Config(const Ec2Config& value) { SetEc2Config(value); return *this;}
125 
126 
127  inline DescribeLocationEfsResult& WithEc2Config(Ec2Config&& value) { SetEc2Config(std::move(value)); return *this;}
128 
129 
133  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
134 
138  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
139 
143  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
144 
148  inline DescribeLocationEfsResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
149 
153  inline DescribeLocationEfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
154 
155  private:
156 
157  Aws::String m_locationArn;
158 
159  Aws::String m_locationUri;
160 
161  Ec2Config m_ec2Config;
162 
163  Aws::Utils::DateTime m_creationTime;
164  };
165 
166 } // namespace Model
167 } // namespace DataSync
168 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataSync::Model::DescribeLocationEfsResult::DescribeLocationEfsResult
DescribeLocationEfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::DescribeLocationEfsResult::WithLocationUri
DescribeLocationEfsResult & WithLocationUri(const Aws::String &value)
Definition: DescribeLocationEfsResult.h:101
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::DescribeLocationEfsResult::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: DescribeLocationEfsResult.h:55
Aws::DataSync::Model::DescribeLocationEfsResult::operator=
DescribeLocationEfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::DescribeLocationEfsResult::SetEc2Config
void SetEc2Config(const Ec2Config &value)
Definition: DescribeLocationEfsResult.h:118
Aws::DataSync::Model::DescribeLocationEfsResult::DescribeLocationEfsResult
DescribeLocationEfsResult()
DateTime.h
Aws::DataSync::Model::DescribeLocationEfsResult::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: DescribeLocationEfsResult.h:91
Aws::DataSync::Model::DescribeLocationEfsResult::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: DescribeLocationEfsResult.h:86
Aws::DataSync::Model::DescribeLocationEfsResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeLocationEfsResult.h:143
Aws::DataSync::Model::DescribeLocationEfsResult::SetEc2Config
void SetEc2Config(Ec2Config &&value)
Definition: DescribeLocationEfsResult.h:121
Aws::DataSync::Model::DescribeLocationEfsResult::SetLocationUri
void SetLocationUri(const char *value)
Definition: DescribeLocationEfsResult.h:96
Aws::DataSync::Model::DescribeLocationEfsResult::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: DescribeLocationEfsResult.h:81
Aws::DataSync::Model::DescribeLocationEfsResult::WithCreationTime
DescribeLocationEfsResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeLocationEfsResult.h:148
Aws::DataSync::Model::DescribeLocationEfsResult
Definition: DescribeLocationEfsResult.h:35
Aws::DataSync::Model::DescribeLocationEfsResult::SetLocationArn
void SetLocationArn(const char *value)
Definition: DescribeLocationEfsResult.h:60
Aws::DataSync::Model::DescribeLocationEfsResult::WithLocationUri
DescribeLocationEfsResult & WithLocationUri(const char *value)
Definition: DescribeLocationEfsResult.h:111
Aws::DataSync::Model::DescribeLocationEfsResult::WithLocationArn
DescribeLocationEfsResult & WithLocationArn(const Aws::String &value)
Definition: DescribeLocationEfsResult.h:65
AWSString.h
Aws::DataSync::Model::DescribeLocationEfsResult::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: DescribeLocationEfsResult.h:50
DataSync_EXPORTS.h
Aws::DataSync::Model::DescribeLocationEfsResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeLocationEfsResult.h:138
Aws::DataSync::Model::DescribeLocationEfsResult::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: DescribeLocationEfsResult.h:45
Aws::DataSync::Model::DescribeLocationEfsResult::WithEc2Config
DescribeLocationEfsResult & WithEc2Config(const Ec2Config &value)
Definition: DescribeLocationEfsResult.h:124
Aws::DataSync::Model::DescribeLocationEfsResult::WithEc2Config
DescribeLocationEfsResult & WithEc2Config(Ec2Config &&value)
Definition: DescribeLocationEfsResult.h:127
Aws::DataSync::Model::DescribeLocationEfsResult::GetEc2Config
const Ec2Config & GetEc2Config() const
Definition: DescribeLocationEfsResult.h:115
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DataSync::Model::Ec2Config
Definition: Ec2Config.h:37
Aws::DataSync::Model::DescribeLocationEfsResult::WithLocationArn
DescribeLocationEfsResult & WithLocationArn(Aws::String &&value)
Definition: DescribeLocationEfsResult.h:70
Aws::DataSync::Model::DescribeLocationEfsResult::WithLocationArn
DescribeLocationEfsResult & WithLocationArn(const char *value)
Definition: DescribeLocationEfsResult.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::DescribeLocationEfsResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeLocationEfsResult.h:133
Aws::DataSync::Model::DescribeLocationEfsResult::WithCreationTime
DescribeLocationEfsResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeLocationEfsResult.h:153
Aws::DataSync::Model::DescribeLocationEfsResult::WithLocationUri
DescribeLocationEfsResult & WithLocationUri(Aws::String &&value)
Definition: DescribeLocationEfsResult.h:106
Ec2Config.h