AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ArtifactConfigInput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/synthetics/model/S3EncryptionConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Synthetics {
20namespace Model {
21
30 public:
31 AWS_SYNTHETICS_API ArtifactConfigInput() = default;
32 AWS_SYNTHETICS_API ArtifactConfigInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline const S3EncryptionConfig& GetS3Encryption() const { return m_s3Encryption; }
46 inline bool S3EncryptionHasBeenSet() const { return m_s3EncryptionHasBeenSet; }
47 template <typename S3EncryptionT = S3EncryptionConfig>
48 void SetS3Encryption(S3EncryptionT&& value) {
49 m_s3EncryptionHasBeenSet = true;
50 m_s3Encryption = std::forward<S3EncryptionT>(value);
51 }
52 template <typename S3EncryptionT = S3EncryptionConfig>
53 ArtifactConfigInput& WithS3Encryption(S3EncryptionT&& value) {
54 SetS3Encryption(std::forward<S3EncryptionT>(value));
55 return *this;
56 }
58 private:
59 S3EncryptionConfig m_s3Encryption;
60 bool m_s3EncryptionHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Synthetics
65} // namespace Aws
AWS_SYNTHETICS_API ArtifactConfigInput()=default
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API ArtifactConfigInput(Aws::Utils::Json::JsonView jsonValue)
const S3EncryptionConfig & GetS3Encryption() const
AWS_SYNTHETICS_API ArtifactConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactConfigInput & WithS3Encryption(S3EncryptionT &&value)
Aws::Utils::Json::JsonValue JsonValue