AWS SDK for C++  1.8.95
AWS SDK for C++
SourceConfig.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  SourceConfig();
37  SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38  Aws::Utils::Json::JsonValue Jsonize() const;
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 SourceConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
70 
74  inline SourceConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
75 
79  inline SourceConfig& 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 SourceConfig& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
111 
115  inline SourceConfig& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
116 
120  inline SourceConfig& WithS3Key(const char* value) { SetS3Key(value); return *this;}
121 
122 
126  inline const Architecture& GetArchitecture() const{ return m_architecture; }
127 
131  inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
132 
136  inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
137 
141  inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
142 
146  inline SourceConfig& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
147 
151  inline SourceConfig& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_s3Bucket;
156  bool m_s3BucketHasBeenSet;
157 
158  Aws::String m_s3Key;
159  bool m_s3KeyHasBeenSet;
160 
161  Architecture m_architecture;
162  bool m_architectureHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace RoboMaker
167 } // namespace Aws
void SetS3Key(const Aws::String &value)
Definition: SourceConfig.h:95
SourceConfig & WithS3Bucket(const Aws::String &value)
Definition: SourceConfig.h:69
void SetS3Bucket(Aws::String &&value)
Definition: SourceConfig.h:59
const Aws::String & GetS3Bucket() const
Definition: SourceConfig.h:44
SourceConfig & WithS3Bucket(const char *value)
Definition: SourceConfig.h:79
void SetS3Bucket(const char *value)
Definition: SourceConfig.h:64
SourceConfig & WithS3Key(const Aws::String &value)
Definition: SourceConfig.h:110
SourceConfig & WithArchitecture(const Architecture &value)
Definition: SourceConfig.h:146
void SetS3Bucket(const Aws::String &value)
Definition: SourceConfig.h:54
SourceConfig & WithS3Key(Aws::String &&value)
Definition: SourceConfig.h:115
SourceConfig & WithArchitecture(Architecture &&value)
Definition: SourceConfig.h:151
SourceConfig & WithS3Bucket(Aws::String &&value)
Definition: SourceConfig.h:74
SourceConfig & WithS3Key(const char *value)
Definition: SourceConfig.h:120
const Architecture & GetArchitecture() const
Definition: SourceConfig.h:126
const Aws::String & GetS3Key() const
Definition: SourceConfig.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetS3Key(const char *value)
Definition: SourceConfig.h:105
void SetArchitecture(const Architecture &value)
Definition: SourceConfig.h:136
void SetArchitecture(Architecture &&value)
Definition: SourceConfig.h:141
void SetS3Key(Aws::String &&value)
Definition: SourceConfig.h:100
#define AWS_ROBOMAKER_API