AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LocationListEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataSync {
20namespace Model {
21
32 public:
33 AWS_DATASYNC_API LocationListEntry() = default;
34 AWS_DATASYNC_API LocationListEntry(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
45 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
46 template <typename LocationArnT = Aws::String>
47 void SetLocationArn(LocationArnT&& value) {
48 m_locationArnHasBeenSet = true;
49 m_locationArn = std::forward<LocationArnT>(value);
50 }
51 template <typename LocationArnT = Aws::String>
52 LocationListEntry& WithLocationArn(LocationArnT&& value) {
53 SetLocationArn(std::forward<LocationArnT>(value));
54 return *this;
55 }
57
59
74 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
75 inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
76 template <typename LocationUriT = Aws::String>
77 void SetLocationUri(LocationUriT&& value) {
78 m_locationUriHasBeenSet = true;
79 m_locationUri = std::forward<LocationUriT>(value);
80 }
81 template <typename LocationUriT = Aws::String>
82 LocationListEntry& WithLocationUri(LocationUriT&& value) {
83 SetLocationUri(std::forward<LocationUriT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_locationArn;
89
90 Aws::String m_locationUri;
91 bool m_locationArnHasBeenSet = false;
92 bool m_locationUriHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace DataSync
97} // namespace Aws
const Aws::String & GetLocationUri() const
AWS_DATASYNC_API LocationListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetLocationUri(LocationUriT &&value)
bool LocationArnHasBeenSet() const
AWS_DATASYNC_API LocationListEntry()=default
const Aws::String & GetLocationArn() const
void SetLocationArn(LocationArnT &&value)
bool LocationUriHasBeenSet() const
LocationListEntry & WithLocationUri(LocationUriT &&value)
AWS_DATASYNC_API LocationListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
LocationListEntry & WithLocationArn(LocationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue