AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
SourceLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/S3FilesLocation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API SourceLocation() = default;
32 AWS_DATAZONE_API SourceLocation(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetS3() const { return m_s3; }
41 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
42 template <typename S3T = Aws::String>
43 void SetS3(S3T&& value) {
44 m_s3HasBeenSet = true;
45 m_s3 = std::forward<S3T>(value);
46 }
47 template <typename S3T = Aws::String>
48 SourceLocation& WithS3(S3T&& value) {
49 SetS3(std::forward<S3T>(value));
50 return *this;
51 }
53
55
59 inline const S3FilesLocation& GetS3Files() const { return m_s3Files; }
60 inline bool S3FilesHasBeenSet() const { return m_s3FilesHasBeenSet; }
61 template <typename S3FilesT = S3FilesLocation>
62 void SetS3Files(S3FilesT&& value) {
63 m_s3FilesHasBeenSet = true;
64 m_s3Files = std::forward<S3FilesT>(value);
65 }
66 template <typename S3FilesT = S3FilesLocation>
67 SourceLocation& WithS3Files(S3FilesT&& value) {
68 SetS3Files(std::forward<S3FilesT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_s3;
74
75 S3FilesLocation m_s3Files;
76 bool m_s3HasBeenSet = false;
77 bool m_s3FilesHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DataZone
82} // namespace Aws
AWS_DATAZONE_API SourceLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API SourceLocation(Aws::Utils::Json::JsonView jsonValue)
SourceLocation & WithS3Files(S3FilesT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const S3FilesLocation & GetS3Files() const
SourceLocation & WithS3(S3T &&value)
AWS_DATAZONE_API SourceLocation()=default
const Aws::String & GetS3() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue