AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename S3BucketT = Aws::String>
48 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
49 template<typename S3BucketT = Aws::String>
50 SourceConfig& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
52
54
57 inline const Aws::String& GetS3Key() const { return m_s3Key; }
58 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
59 template<typename S3KeyT = Aws::String>
60 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
61 template<typename S3KeyT = Aws::String>
62 SourceConfig& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
64
66
69 inline Architecture GetArchitecture() const { return m_architecture; }
70 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
71 inline void SetArchitecture(Architecture value) { m_architectureHasBeenSet = true; m_architecture = value; }
72 inline SourceConfig& WithArchitecture(Architecture value) { SetArchitecture(value); return *this;}
74 private:
75
76 Aws::String m_s3Bucket;
77 bool m_s3BucketHasBeenSet = false;
78
79 Aws::String m_s3Key;
80 bool m_s3KeyHasBeenSet = false;
81
82 Architecture m_architecture{Architecture::NOT_SET};
83 bool m_architectureHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace RoboMaker
88} // namespace Aws
SourceConfig & WithS3Bucket(S3BucketT &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArchitecture(Architecture value)
AWS_ROBOMAKER_API SourceConfig()=default
Architecture GetArchitecture() const
const Aws::String & GetS3Key() const
void SetS3Bucket(S3BucketT &&value)
SourceConfig & WithS3Key(S3KeyT &&value)
const Aws::String & GetS3Bucket() const
AWS_ROBOMAKER_API SourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceConfig & WithArchitecture(Architecture value)
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