AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
LocationListEntry.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataSync
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_DATASYNC_API LocationListEntry() = default;
39 AWS_DATASYNC_API LocationListEntry(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
51 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
52 template<typename LocationArnT = Aws::String>
53 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
54 template<typename LocationArnT = Aws::String>
55 LocationListEntry& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
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) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
78 template<typename LocationUriT = Aws::String>
79 LocationListEntry& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
81 private:
82
83 Aws::String m_locationArn;
84 bool m_locationArnHasBeenSet = false;
85
86 Aws::String m_locationUri;
87 bool m_locationUriHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DataSync
92} // 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