AWS SDK for C++  1.9.20
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:
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
Aws::RoboMaker::Model::SourceConfig::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: SourceConfig.h:49
Aws::RoboMaker::Model::SourceConfig::SetS3Key
void SetS3Key(Aws::String &&value)
Definition: SourceConfig.h:100
Aws::RoboMaker::Model::SourceConfig::WithS3Bucket
SourceConfig & WithS3Bucket(const char *value)
Definition: SourceConfig.h:79
Aws::RoboMaker::Model::SourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::SourceConfig::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: SourceConfig.h:59
Aws::RoboMaker::Model::SourceConfig::SourceConfig
SourceConfig()
Aws::RoboMaker::Model::SourceConfig::WithArchitecture
SourceConfig & WithArchitecture(Architecture &&value)
Definition: SourceConfig.h:151
Aws::RoboMaker::Model::SourceConfig::SetArchitecture
void SetArchitecture(Architecture &&value)
Definition: SourceConfig.h:141
Aws::RoboMaker::Model::SourceConfig::SetArchitecture
void SetArchitecture(const Architecture &value)
Definition: SourceConfig.h:136
Aws::RoboMaker::Model::SourceConfig::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: SourceConfig.h:44
Aws::RoboMaker::Model::SourceConfig::operator=
SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::SourceConfig::SetS3Key
void SetS3Key(const char *value)
Definition: SourceConfig.h:105
Aws::RoboMaker::Model::SourceConfig::ArchitectureHasBeenSet
bool ArchitectureHasBeenSet() const
Definition: SourceConfig.h:131
Aws::RoboMaker::Model::SourceConfig::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: SourceConfig.h:54
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::SourceConfig::GetS3Key
const Aws::String & GetS3Key() const
Definition: SourceConfig.h:85
Aws::RoboMaker::Model::SourceConfig::GetArchitecture
const Architecture & GetArchitecture() const
Definition: SourceConfig.h:126
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::SourceConfig::WithS3Bucket
SourceConfig & WithS3Bucket(const Aws::String &value)
Definition: SourceConfig.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::SourceConfig::SetS3Key
void SetS3Key(const Aws::String &value)
Definition: SourceConfig.h:95
Aws::RoboMaker::Model::SourceConfig
Definition: SourceConfig.h:33
Aws::RoboMaker::Model::SourceConfig::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: SourceConfig.h:64
Aws::RoboMaker::Model::SourceConfig::WithArchitecture
SourceConfig & WithArchitecture(const Architecture &value)
Definition: SourceConfig.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::SourceConfig::S3KeyHasBeenSet
bool S3KeyHasBeenSet() const
Definition: SourceConfig.h:90
Aws::RoboMaker::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::RoboMaker::Model::SourceConfig::WithS3Key
SourceConfig & WithS3Key(const char *value)
Definition: SourceConfig.h:120
Aws::RoboMaker::Model::SourceConfig::WithS3Key
SourceConfig & WithS3Key(const Aws::String &value)
Definition: SourceConfig.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::SourceConfig::WithS3Bucket
SourceConfig & WithS3Bucket(Aws::String &&value)
Definition: SourceConfig.h:74
Aws::RoboMaker::Model::SourceConfig::WithS3Key
SourceConfig & WithS3Key(Aws::String &&value)
Definition: SourceConfig.h:115
Architecture.h
Aws::RoboMaker::Model::SourceConfig::SourceConfig
SourceConfig(Aws::Utils::Json::JsonView jsonValue)