AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
53 inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
54 inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
55 inline LocationListEntry& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
56 inline LocationListEntry& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
57 inline LocationListEntry& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
59
61
77 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
78 inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
79 inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; }
80 inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); }
81 inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); }
82 inline LocationListEntry& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
83 inline LocationListEntry& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
84 inline LocationListEntry& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
86 private:
87
88 Aws::String m_locationArn;
89 bool m_locationArnHasBeenSet = false;
90
91 Aws::String m_locationUri;
92 bool m_locationUriHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DataSync
97} // namespace Aws
LocationListEntry & WithLocationUri(const Aws::String &value)
LocationListEntry & WithLocationArn(const Aws::String &value)
AWS_DATASYNC_API LocationListEntry()
const Aws::String & GetLocationUri() const
AWS_DATASYNC_API LocationListEntry(Aws::Utils::Json::JsonView jsonValue)
LocationListEntry & WithLocationUri(Aws::String &&value)
LocationListEntry & WithLocationArn(const char *value)
bool LocationArnHasBeenSet() const
void SetLocationUri(const char *value)
void SetLocationArn(Aws::String &&value)
void SetLocationArn(const Aws::String &value)
const Aws::String & GetLocationArn() const
void SetLocationUri(Aws::String &&value)
LocationListEntry & WithLocationArn(Aws::String &&value)
void SetLocationArn(const char *value)
void SetLocationUri(const Aws::String &value)
bool LocationUriHasBeenSet() const
LocationListEntry & WithLocationUri(const char *value)
AWS_DATASYNC_API LocationListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue