AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Source.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/robomaker/model/Architecture.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RoboMaker
23{
24namespace Model
25{
26
32 class Source
33 {
34 public:
35 AWS_ROBOMAKER_API Source() = default;
36 AWS_ROBOMAKER_API Source(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROBOMAKER_API Source& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
46 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
47 template<typename S3BucketT = Aws::String>
48 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
49 template<typename S3BucketT = Aws::String>
50 Source& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
52
54
57 inline const Aws::String& GetS3Key() const { return m_s3Key; }
58 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
59 template<typename S3KeyT = Aws::String>
60 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
61 template<typename S3KeyT = Aws::String>
62 Source& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
64
66
70 inline const Aws::String& GetEtag() const { return m_etag; }
71 inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
72 template<typename EtagT = Aws::String>
73 void SetEtag(EtagT&& value) { m_etagHasBeenSet = true; m_etag = std::forward<EtagT>(value); }
74 template<typename EtagT = Aws::String>
75 Source& WithEtag(EtagT&& value) { SetEtag(std::forward<EtagT>(value)); return *this;}
77
79
82 inline Architecture GetArchitecture() const { return m_architecture; }
83 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
84 inline void SetArchitecture(Architecture value) { m_architectureHasBeenSet = true; m_architecture = value; }
85 inline Source& WithArchitecture(Architecture value) { SetArchitecture(value); return *this;}
87 private:
88
89 Aws::String m_s3Bucket;
90 bool m_s3BucketHasBeenSet = false;
91
92 Aws::String m_s3Key;
93 bool m_s3KeyHasBeenSet = false;
94
95 Aws::String m_etag;
96 bool m_etagHasBeenSet = false;
97
98 Architecture m_architecture{Architecture::NOT_SET};
99 bool m_architectureHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace RoboMaker
104} // namespace Aws
void SetS3Bucket(S3BucketT &&value)
Definition Source.h:48
void SetArchitecture(Architecture value)
Definition Source.h:84
Source & WithS3Key(S3KeyT &&value)
Definition Source.h:62
Source & WithEtag(EtagT &&value)
Definition Source.h:75
void SetEtag(EtagT &&value)
Definition Source.h:73
bool S3KeyHasBeenSet() const
Definition Source.h:58
const Aws::String & GetS3Bucket() const
Definition Source.h:45
const Aws::String & GetEtag() const
Definition Source.h:70
Source & WithS3Bucket(S3BucketT &&value)
Definition Source.h:50
void SetS3Key(S3KeyT &&value)
Definition Source.h:60
AWS_ROBOMAKER_API Source(Aws::Utils::Json::JsonView jsonValue)
bool ArchitectureHasBeenSet() const
Definition Source.h:83
Architecture GetArchitecture() const
Definition Source.h:82
bool EtagHasBeenSet() const
Definition Source.h:71
const Aws::String & GetS3Key() const
Definition Source.h:57
bool S3BucketHasBeenSet() const
Definition Source.h:46
AWS_ROBOMAKER_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Source & WithArchitecture(Architecture value)
Definition Source.h:85
AWS_ROBOMAKER_API Source()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue