AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceConfig.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
33 {
34 public:
35 AWS_ROBOMAKER_API SourceConfig();
36 AWS_ROBOMAKER_API SourceConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROBOMAKER_API SourceConfig& 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 SourceConfig& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
51 inline SourceConfig& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
52 inline SourceConfig& 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 SourceConfig& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
65 inline SourceConfig& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
66 inline SourceConfig& WithS3Key(const char* value) { SetS3Key(value); return *this;}
68
70
73 inline const Architecture& GetArchitecture() const{ return m_architecture; }
74 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
75 inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
76 inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
77 inline SourceConfig& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
78 inline SourceConfig& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_s3Bucket;
83 bool m_s3BucketHasBeenSet = false;
84
85 Aws::String m_s3Key;
86 bool m_s3KeyHasBeenSet = false;
87
88 Architecture m_architecture;
89 bool m_architectureHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace RoboMaker
94} // namespace Aws
SourceConfig & WithS3Bucket(const Aws::String &value)
void SetArchitecture(const Architecture &value)
void SetS3Bucket(const char *value)
void SetS3Key(const char *value)
void SetS3Key(const Aws::String &value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SourceConfig & WithS3Key(const Aws::String &value)
void SetS3Bucket(Aws::String &&value)
SourceConfig & WithArchitecture(const Architecture &value)
SourceConfig & WithS3Bucket(Aws::String &&value)
SourceConfig & WithS3Key(const char *value)
void SetS3Key(Aws::String &&value)
void SetArchitecture(Architecture &&value)
void SetS3Bucket(const Aws::String &value)
const Aws::String & GetS3Key() const
SourceConfig & WithS3Bucket(const char *value)
SourceConfig & WithArchitecture(Architecture &&value)
SourceConfig & WithS3Key(Aws::String &&value)
const Aws::String & GetS3Bucket() const
AWS_ROBOMAKER_API SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Architecture & GetArchitecture() const
AWS_ROBOMAKER_API SourceConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue