AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeliveryChannel.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/ConfigSnapshotDeliveryProperties.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 ConfigService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONFIGSERVICE_API DeliveryChannel() = default;
37 AWS_CONFIGSERVICE_API DeliveryChannel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API DeliveryChannel& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 DeliveryChannel& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
67 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
68 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
69 template<typename S3BucketNameT = Aws::String>
70 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
71 template<typename S3BucketNameT = Aws::String>
72 DeliveryChannel& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
74
76
79 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
80 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
81 template<typename S3KeyPrefixT = Aws::String>
82 void SetS3KeyPrefix(S3KeyPrefixT&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value); }
83 template<typename S3KeyPrefixT = Aws::String>
84 DeliveryChannel& WithS3KeyPrefix(S3KeyPrefixT&& value) { SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value)); return *this;}
86
88
93 inline const Aws::String& GetS3KmsKeyArn() const { return m_s3KmsKeyArn; }
94 inline bool S3KmsKeyArnHasBeenSet() const { return m_s3KmsKeyArnHasBeenSet; }
95 template<typename S3KmsKeyArnT = Aws::String>
96 void SetS3KmsKeyArn(S3KmsKeyArnT&& value) { m_s3KmsKeyArnHasBeenSet = true; m_s3KmsKeyArn = std::forward<S3KmsKeyArnT>(value); }
97 template<typename S3KmsKeyArnT = Aws::String>
98 DeliveryChannel& WithS3KmsKeyArn(S3KmsKeyArnT&& value) { SetS3KmsKeyArn(std::forward<S3KmsKeyArnT>(value)); return *this;}
100
102
110 inline const Aws::String& GetSnsTopicARN() const { return m_snsTopicARN; }
111 inline bool SnsTopicARNHasBeenSet() const { return m_snsTopicARNHasBeenSet; }
112 template<typename SnsTopicARNT = Aws::String>
113 void SetSnsTopicARN(SnsTopicARNT&& value) { m_snsTopicARNHasBeenSet = true; m_snsTopicARN = std::forward<SnsTopicARNT>(value); }
114 template<typename SnsTopicARNT = Aws::String>
115 DeliveryChannel& WithSnsTopicARN(SnsTopicARNT&& value) { SetSnsTopicARN(std::forward<SnsTopicARNT>(value)); return *this;}
117
119
123 inline const ConfigSnapshotDeliveryProperties& GetConfigSnapshotDeliveryProperties() const { return m_configSnapshotDeliveryProperties; }
124 inline bool ConfigSnapshotDeliveryPropertiesHasBeenSet() const { return m_configSnapshotDeliveryPropertiesHasBeenSet; }
125 template<typename ConfigSnapshotDeliveryPropertiesT = ConfigSnapshotDeliveryProperties>
126 void SetConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryPropertiesT&& value) { m_configSnapshotDeliveryPropertiesHasBeenSet = true; m_configSnapshotDeliveryProperties = std::forward<ConfigSnapshotDeliveryPropertiesT>(value); }
127 template<typename ConfigSnapshotDeliveryPropertiesT = ConfigSnapshotDeliveryProperties>
128 DeliveryChannel& WithConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryPropertiesT&& value) { SetConfigSnapshotDeliveryProperties(std::forward<ConfigSnapshotDeliveryPropertiesT>(value)); return *this;}
130 private:
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_s3BucketName;
136 bool m_s3BucketNameHasBeenSet = false;
137
138 Aws::String m_s3KeyPrefix;
139 bool m_s3KeyPrefixHasBeenSet = false;
140
141 Aws::String m_s3KmsKeyArn;
142 bool m_s3KmsKeyArnHasBeenSet = false;
143
144 Aws::String m_snsTopicARN;
145 bool m_snsTopicARNHasBeenSet = false;
146
147 ConfigSnapshotDeliveryProperties m_configSnapshotDeliveryProperties;
148 bool m_configSnapshotDeliveryPropertiesHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace ConfigService
153} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryChannel & WithS3KeyPrefix(S3KeyPrefixT &&value)
void SetS3KmsKeyArn(S3KmsKeyArnT &&value)
const Aws::String & GetS3BucketName() const
void SetConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryPropertiesT &&value)
DeliveryChannel & WithConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryPropertiesT &&value)
DeliveryChannel & WithS3BucketName(S3BucketNameT &&value)
AWS_CONFIGSERVICE_API DeliveryChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3KmsKeyArn() const
const Aws::String & GetS3KeyPrefix() const
AWS_CONFIGSERVICE_API DeliveryChannel(Aws::Utils::Json::JsonView jsonValue)
void SetS3KeyPrefix(S3KeyPrefixT &&value)
const ConfigSnapshotDeliveryProperties & GetConfigSnapshotDeliveryProperties() const
DeliveryChannel & WithS3KmsKeyArn(S3KmsKeyArnT &&value)
DeliveryChannel & WithName(NameT &&value)
DeliveryChannel & WithSnsTopicARN(SnsTopicARNT &&value)
void SetS3BucketName(S3BucketNameT &&value)
AWS_CONFIGSERVICE_API DeliveryChannel()=default
const Aws::String & GetSnsTopicARN() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue