AWS SDK for C++  1.9.160
AWS SDK for C++
LocationListEntry.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace DataSync
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
49  inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
50 
56  inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
57 
63  inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
64 
70  inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
71 
77  inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
78 
84  inline LocationListEntry& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
85 
91  inline LocationListEntry& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
92 
98  inline LocationListEntry& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
99 
100 
116  inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
117 
133  inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
134 
150  inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; }
151 
167  inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); }
168 
184  inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); }
185 
201  inline LocationListEntry& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
202 
218  inline LocationListEntry& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
219 
235  inline LocationListEntry& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
236 
237  private:
238 
239  Aws::String m_locationArn;
240  bool m_locationArnHasBeenSet;
241 
242  Aws::String m_locationUri;
243  bool m_locationUriHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace DataSync
248 } // namespace Aws
Aws::DataSync::Model::LocationListEntry::WithLocationUri
LocationListEntry & WithLocationUri(const char *value)
Definition: LocationListEntry.h:235
Aws::DataSync::Model::LocationListEntry::SetLocationArn
void SetLocationArn(Aws::String &&value)
Definition: LocationListEntry.h:70
Aws::DataSync::Model::LocationListEntry::SetLocationArn
void SetLocationArn(const char *value)
Definition: LocationListEntry.h:77
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::LocationListEntry::WithLocationUri
LocationListEntry & WithLocationUri(const Aws::String &value)
Definition: LocationListEntry.h:201
Aws::DataSync::Model::LocationListEntry::SetLocationUri
void SetLocationUri(const Aws::String &value)
Definition: LocationListEntry.h:150
Aws::DataSync::Model::LocationListEntry::SetLocationUri
void SetLocationUri(Aws::String &&value)
Definition: LocationListEntry.h:167
Aws::DataSync::Model::LocationListEntry::WithLocationArn
LocationListEntry & WithLocationArn(const Aws::String &value)
Definition: LocationListEntry.h:84
Aws::DataSync::Model::LocationListEntry::LocationListEntry
LocationListEntry()
Aws::DataSync::Model::LocationListEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DataSync::Model::LocationListEntry::SetLocationUri
void SetLocationUri(const char *value)
Definition: LocationListEntry.h:184
Aws::DataSync::Model::LocationListEntry::WithLocationArn
LocationListEntry & WithLocationArn(Aws::String &&value)
Definition: LocationListEntry.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
DataSync_EXPORTS.h
Aws::DataSync::Model::LocationListEntry::LocationUriHasBeenSet
bool LocationUriHasBeenSet() const
Definition: LocationListEntry.h:133
Aws::DataSync::Model::LocationListEntry::LocationListEntry
LocationListEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::DataSync::Model::LocationListEntry::LocationArnHasBeenSet
bool LocationArnHasBeenSet() const
Definition: LocationListEntry.h:56
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::LocationListEntry
Definition: LocationListEntry.h:36
Aws::DataSync::Model::LocationListEntry::GetLocationArn
const Aws::String & GetLocationArn() const
Definition: LocationListEntry.h:49
Aws::DataSync::Model::LocationListEntry::GetLocationUri
const Aws::String & GetLocationUri() const
Definition: LocationListEntry.h:116
Aws::DataSync::Model::LocationListEntry::SetLocationArn
void SetLocationArn(const Aws::String &value)
Definition: LocationListEntry.h:63
Aws::DataSync::Model::LocationListEntry::WithLocationUri
LocationListEntry & WithLocationUri(Aws::String &&value)
Definition: LocationListEntry.h:218
Aws::DataSync::Model::LocationListEntry::operator=
LocationListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DataSync::Model::LocationListEntry::WithLocationArn
LocationListEntry & WithLocationArn(const char *value)
Definition: LocationListEntry.h:98