AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CodeConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace finspace {
20namespace Model {
21
29 public:
30 AWS_FINSPACE_API CodeConfiguration() = default;
31 AWS_FINSPACE_API CodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
40 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
41 template <typename S3BucketT = Aws::String>
42 void SetS3Bucket(S3BucketT&& value) {
43 m_s3BucketHasBeenSet = true;
44 m_s3Bucket = std::forward<S3BucketT>(value);
45 }
46 template <typename S3BucketT = Aws::String>
47 CodeConfiguration& WithS3Bucket(S3BucketT&& value) {
48 SetS3Bucket(std::forward<S3BucketT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetS3Key() const { return m_s3Key; }
59 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
60 template <typename S3KeyT = Aws::String>
61 void SetS3Key(S3KeyT&& value) {
62 m_s3KeyHasBeenSet = true;
63 m_s3Key = std::forward<S3KeyT>(value);
64 }
65 template <typename S3KeyT = Aws::String>
66 CodeConfiguration& WithS3Key(S3KeyT&& value) {
67 SetS3Key(std::forward<S3KeyT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetS3ObjectVersion() const { return m_s3ObjectVersion; }
77 inline bool S3ObjectVersionHasBeenSet() const { return m_s3ObjectVersionHasBeenSet; }
78 template <typename S3ObjectVersionT = Aws::String>
79 void SetS3ObjectVersion(S3ObjectVersionT&& value) {
80 m_s3ObjectVersionHasBeenSet = true;
81 m_s3ObjectVersion = std::forward<S3ObjectVersionT>(value);
82 }
83 template <typename S3ObjectVersionT = Aws::String>
84 CodeConfiguration& WithS3ObjectVersion(S3ObjectVersionT&& value) {
85 SetS3ObjectVersion(std::forward<S3ObjectVersionT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_s3Bucket;
91 bool m_s3BucketHasBeenSet = false;
92
93 Aws::String m_s3Key;
94 bool m_s3KeyHasBeenSet = false;
95
96 Aws::String m_s3ObjectVersion;
97 bool m_s3ObjectVersionHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace finspace
102} // namespace Aws
const Aws::String & GetS3ObjectVersion() const
const Aws::String & GetS3Bucket() const
CodeConfiguration & WithS3ObjectVersion(S3ObjectVersionT &&value)
AWS_FINSPACE_API CodeConfiguration()=default
CodeConfiguration & WithS3Bucket(S3BucketT &&value)
void SetS3ObjectVersion(S3ObjectVersionT &&value)
CodeConfiguration & WithS3Key(S3KeyT &&value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACE_API CodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API CodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue