AWS SDK for C++  1.8.126
AWS SDK for C++
Source.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RoboMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
35  Source();
39 
40 
44  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
45 
49  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
50 
54  inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
55 
59  inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
60 
64  inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
65 
69  inline Source& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
70 
74  inline Source& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
75 
79  inline Source& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
80 
81 
85  inline const Aws::String& GetS3Key() const{ return m_s3Key; }
86 
90  inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
91 
95  inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
96 
100  inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
101 
105  inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
106 
110  inline Source& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
111 
115  inline Source& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
116 
120  inline Source& WithS3Key(const char* value) { SetS3Key(value); return *this;}
121 
122 
127  inline const Aws::String& GetEtag() const{ return m_etag; }
128 
133  inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; }
134 
139  inline void SetEtag(const Aws::String& value) { m_etagHasBeenSet = true; m_etag = value; }
140 
145  inline void SetEtag(Aws::String&& value) { m_etagHasBeenSet = true; m_etag = std::move(value); }
146 
151  inline void SetEtag(const char* value) { m_etagHasBeenSet = true; m_etag.assign(value); }
152 
157  inline Source& WithEtag(const Aws::String& value) { SetEtag(value); return *this;}
158 
163  inline Source& WithEtag(Aws::String&& value) { SetEtag(std::move(value)); return *this;}
164 
169  inline Source& WithEtag(const char* value) { SetEtag(value); return *this;}
170 
171 
175  inline const Architecture& GetArchitecture() const{ return m_architecture; }
176 
180  inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
181 
185  inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
186 
190  inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
191 
195  inline Source& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
196 
200  inline Source& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
201 
202  private:
203 
204  Aws::String m_s3Bucket;
205  bool m_s3BucketHasBeenSet;
206 
207  Aws::String m_s3Key;
208  bool m_s3KeyHasBeenSet;
209 
210  Aws::String m_etag;
211  bool m_etagHasBeenSet;
212 
213  Architecture m_architecture;
214  bool m_architectureHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace RoboMaker
219 } // namespace Aws
Aws::RoboMaker::Model::Source::WithS3Bucket
Source & WithS3Bucket(const Aws::String &value)
Definition: Source.h:69
Aws::RoboMaker::Model::Source::ArchitectureHasBeenSet
bool ArchitectureHasBeenSet() const
Definition: Source.h:180
Aws::RoboMaker::Model::Source::GetS3Key
const Aws::String & GetS3Key() const
Definition: Source.h:85
Aws::RoboMaker::Model::Source::SetArchitecture
void SetArchitecture(const Architecture &value)
Definition: Source.h:185
Aws::RoboMaker::Model::Source::WithS3Key
Source & WithS3Key(const char *value)
Definition: Source.h:120
Aws::RoboMaker::Model::Source::GetEtag
const Aws::String & GetEtag() const
Definition: Source.h:127
Aws::RoboMaker::Model::Source::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: Source.h:49
Aws::RoboMaker::Model::Source::Source
Source()
Aws::RoboMaker::Model::Source::GetArchitecture
const Architecture & GetArchitecture() const
Definition: Source.h:175
Aws::RoboMaker::Model::Source::WithS3Key
Source & WithS3Key(Aws::String &&value)
Definition: Source.h:115
Aws::RoboMaker::Model::Source::SetS3Key
void SetS3Key(const char *value)
Definition: Source.h:105
Aws::RoboMaker::Model::Source::SetEtag
void SetEtag(const char *value)
Definition: Source.h:151
Aws::RoboMaker::Model::Source::SetS3Key
void SetS3Key(Aws::String &&value)
Definition: Source.h:100
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::Source::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: Source.h:54
Aws::RoboMaker::Model::Source::WithArchitecture
Source & WithArchitecture(Architecture &&value)
Definition: Source.h:200
Aws::RoboMaker::Model::Source::WithS3Bucket
Source & WithS3Bucket(const char *value)
Definition: Source.h:79
Aws::RoboMaker::Model::Source::WithS3Key
Source & WithS3Key(const Aws::String &value)
Definition: Source.h:110
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::Source::WithEtag
Source & WithEtag(Aws::String &&value)
Definition: Source.h:163
Aws::RoboMaker::Model::Source::SetArchitecture
void SetArchitecture(Architecture &&value)
Definition: Source.h:190
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::RoboMaker::Model::Source::SetS3Key
void SetS3Key(const Aws::String &value)
Definition: Source.h:95
Aws::RoboMaker::Model::Source::WithArchitecture
Source & WithArchitecture(const Architecture &value)
Definition: Source.h:195
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::Source::operator=
Source & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::Source::WithEtag
Source & WithEtag(const char *value)
Definition: Source.h:169
Aws::RoboMaker::Model::Source::Source
Source(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::Source::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: Source.h:59
Aws::RoboMaker::Model::Source::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: Source.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::Source::WithEtag
Source & WithEtag(const Aws::String &value)
Definition: Source.h:157
Aws::RoboMaker::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::RoboMaker::Model::Source::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: Source.h:44
Aws::RoboMaker::Model::Source
Definition: Source.h:33
Aws::RoboMaker::Model::Source::S3KeyHasBeenSet
bool S3KeyHasBeenSet() const
Definition: Source.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::Source::SetEtag
void SetEtag(const Aws::String &value)
Definition: Source.h:139
Aws::RoboMaker::Model::Source::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::Source::EtagHasBeenSet
bool EtagHasBeenSet() const
Definition: Source.h:133
Aws::RoboMaker::Model::Source::WithS3Bucket
Source & WithS3Bucket(Aws::String &&value)
Definition: Source.h:74
Architecture.h
Aws::RoboMaker::Model::Source::SetEtag
void SetEtag(Aws::String &&value)
Definition: Source.h:145