AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
48 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
49 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
50 inline Source& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
51 inline Source& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
52 inline Source& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
54
56
59 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
60 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
61 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
62 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
63 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
64 inline Source& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
65 inline Source& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
66 inline Source& WithS3Key(const char* value) { SetS3Key(value); return *this;}
68
70
74 inline const Aws::String& GetEtag() const{ return m_etag; }
75 inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
76 inline void SetEtag(const Aws::String& value) { m_etagHasBeenSet = true; m_etag = value; }
77 inline void SetEtag(Aws::String&& value) { m_etagHasBeenSet = true; m_etag = std::move(value); }
78 inline void SetEtag(const char* value) { m_etagHasBeenSet = true; m_etag.assign(value); }
79 inline Source& WithEtag(const Aws::String& value) { SetEtag(value); return *this;}
80 inline Source& WithEtag(Aws::String&& value) { SetEtag(std::move(value)); return *this;}
81 inline Source& WithEtag(const char* value) { SetEtag(value); return *this;}
83
85
88 inline const Architecture& GetArchitecture() const{ return m_architecture; }
89 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
90 inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
91 inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
92 inline Source& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
93 inline Source& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_s3Bucket;
98 bool m_s3BucketHasBeenSet = false;
99
100 Aws::String m_s3Key;
101 bool m_s3KeyHasBeenSet = false;
102
103 Aws::String m_etag;
104 bool m_etagHasBeenSet = false;
105
106 Architecture m_architecture;
107 bool m_architectureHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace RoboMaker
112} // namespace Aws
void SetS3Key(Aws::String &&value)
Definition Source.h:62
void SetArchitecture(const Architecture &value)
Definition Source.h:90
void SetS3Key(const char *value)
Definition Source.h:63
Source & WithS3Key(Aws::String &&value)
Definition Source.h:65
void SetS3Bucket(const Aws::String &value)
Definition Source.h:47
void SetS3Bucket(Aws::String &&value)
Definition Source.h:48
Source & WithArchitecture(const Architecture &value)
Definition Source.h:92
void SetArchitecture(Architecture &&value)
Definition Source.h:91
void SetEtag(Aws::String &&value)
Definition Source.h:77
bool S3KeyHasBeenSet() const
Definition Source.h:60
const Architecture & GetArchitecture() const
Definition Source.h:88
void SetEtag(const char *value)
Definition Source.h:78
Source & WithEtag(const Aws::String &value)
Definition Source.h:79
const Aws::String & GetS3Bucket() const
Definition Source.h:45
const Aws::String & GetEtag() const
Definition Source.h:74
AWS_ROBOMAKER_API Source(Aws::Utils::Json::JsonView jsonValue)
void SetEtag(const Aws::String &value)
Definition Source.h:76
bool ArchitectureHasBeenSet() const
Definition Source.h:89
void SetS3Bucket(const char *value)
Definition Source.h:49
Source & WithS3Bucket(const Aws::String &value)
Definition Source.h:50
void SetS3Key(const Aws::String &value)
Definition Source.h:61
bool EtagHasBeenSet() const
Definition Source.h:75
const Aws::String & GetS3Key() const
Definition Source.h:59
Source & WithEtag(const char *value)
Definition Source.h:81
Source & WithS3Key(const char *value)
Definition Source.h:66
Source & WithS3Bucket(Aws::String &&value)
Definition Source.h:51
bool S3BucketHasBeenSet() const
Definition Source.h:46
Source & WithS3Key(const Aws::String &value)
Definition Source.h:64
Source & WithArchitecture(Architecture &&value)
Definition Source.h:93
AWS_ROBOMAKER_API Source()
AWS_ROBOMAKER_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Source & WithS3Bucket(const char *value)
Definition Source.h:52
Source & WithEtag(Aws::String &&value)
Definition Source.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue