AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline DeliveryChannel& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline DeliveryChannel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline DeliveryChannel& WithName(const char* value) { SetName(value); return *this;}
59
61
69 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
70 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
71 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
72 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
73 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
74 inline DeliveryChannel& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
75 inline DeliveryChannel& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
76 inline DeliveryChannel& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
78
80
83 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
84 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
85 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
86 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
87 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
88 inline DeliveryChannel& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
89 inline DeliveryChannel& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
90 inline DeliveryChannel& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
92
94
99 inline const Aws::String& GetS3KmsKeyArn() const{ return m_s3KmsKeyArn; }
100 inline bool S3KmsKeyArnHasBeenSet() const { return m_s3KmsKeyArnHasBeenSet; }
101 inline void SetS3KmsKeyArn(const Aws::String& value) { m_s3KmsKeyArnHasBeenSet = true; m_s3KmsKeyArn = value; }
102 inline void SetS3KmsKeyArn(Aws::String&& value) { m_s3KmsKeyArnHasBeenSet = true; m_s3KmsKeyArn = std::move(value); }
103 inline void SetS3KmsKeyArn(const char* value) { m_s3KmsKeyArnHasBeenSet = true; m_s3KmsKeyArn.assign(value); }
104 inline DeliveryChannel& WithS3KmsKeyArn(const Aws::String& value) { SetS3KmsKeyArn(value); return *this;}
105 inline DeliveryChannel& WithS3KmsKeyArn(Aws::String&& value) { SetS3KmsKeyArn(std::move(value)); return *this;}
106 inline DeliveryChannel& WithS3KmsKeyArn(const char* value) { SetS3KmsKeyArn(value); return *this;}
108
110
118 inline const Aws::String& GetSnsTopicARN() const{ return m_snsTopicARN; }
119 inline bool SnsTopicARNHasBeenSet() const { return m_snsTopicARNHasBeenSet; }
120 inline void SetSnsTopicARN(const Aws::String& value) { m_snsTopicARNHasBeenSet = true; m_snsTopicARN = value; }
121 inline void SetSnsTopicARN(Aws::String&& value) { m_snsTopicARNHasBeenSet = true; m_snsTopicARN = std::move(value); }
122 inline void SetSnsTopicARN(const char* value) { m_snsTopicARNHasBeenSet = true; m_snsTopicARN.assign(value); }
123 inline DeliveryChannel& WithSnsTopicARN(const Aws::String& value) { SetSnsTopicARN(value); return *this;}
124 inline DeliveryChannel& WithSnsTopicARN(Aws::String&& value) { SetSnsTopicARN(std::move(value)); return *this;}
125 inline DeliveryChannel& WithSnsTopicARN(const char* value) { SetSnsTopicARN(value); return *this;}
127
129
133 inline const ConfigSnapshotDeliveryProperties& GetConfigSnapshotDeliveryProperties() const{ return m_configSnapshotDeliveryProperties; }
134 inline bool ConfigSnapshotDeliveryPropertiesHasBeenSet() const { return m_configSnapshotDeliveryPropertiesHasBeenSet; }
135 inline void SetConfigSnapshotDeliveryProperties(const ConfigSnapshotDeliveryProperties& value) { m_configSnapshotDeliveryPropertiesHasBeenSet = true; m_configSnapshotDeliveryProperties = value; }
136 inline void SetConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties&& value) { m_configSnapshotDeliveryPropertiesHasBeenSet = true; m_configSnapshotDeliveryProperties = std::move(value); }
140 private:
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_s3BucketName;
146 bool m_s3BucketNameHasBeenSet = false;
147
148 Aws::String m_s3KeyPrefix;
149 bool m_s3KeyPrefixHasBeenSet = false;
150
151 Aws::String m_s3KmsKeyArn;
152 bool m_s3KmsKeyArnHasBeenSet = false;
153
154 Aws::String m_snsTopicARN;
155 bool m_snsTopicARNHasBeenSet = false;
156
157 ConfigSnapshotDeliveryProperties m_configSnapshotDeliveryProperties;
158 bool m_configSnapshotDeliveryPropertiesHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ConfigService
163} // namespace Aws
DeliveryChannel & WithConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DeliveryChannel & WithS3KmsKeyArn(Aws::String &&value)
DeliveryChannel & WithSnsTopicARN(const char *value)
DeliveryChannel & WithSnsTopicARN(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetS3BucketName() const
void SetS3KmsKeyArn(const Aws::String &value)
DeliveryChannel & WithS3KeyPrefix(const char *value)
DeliveryChannel & WithS3KeyPrefix(Aws::String &&value)
DeliveryChannel & WithS3BucketName(const Aws::String &value)
void SetS3BucketName(const Aws::String &value)
AWS_CONFIGSERVICE_API DeliveryChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliveryChannel & WithS3KeyPrefix(const Aws::String &value)
const Aws::String & GetS3KmsKeyArn() const
const Aws::String & GetS3KeyPrefix() const
AWS_CONFIGSERVICE_API DeliveryChannel(Aws::Utils::Json::JsonView jsonValue)
DeliveryChannel & WithConfigSnapshotDeliveryProperties(const ConfigSnapshotDeliveryProperties &value)
DeliveryChannel & WithS3BucketName(const char *value)
const ConfigSnapshotDeliveryProperties & GetConfigSnapshotDeliveryProperties() const
DeliveryChannel & WithName(Aws::String &&value)
DeliveryChannel & WithName(const Aws::String &value)
DeliveryChannel & WithSnsTopicARN(const Aws::String &value)
void SetConfigSnapshotDeliveryProperties(const ConfigSnapshotDeliveryProperties &value)
void SetSnsTopicARN(const Aws::String &value)
DeliveryChannel & WithName(const char *value)
DeliveryChannel & WithS3KmsKeyArn(const Aws::String &value)
void SetS3KeyPrefix(const Aws::String &value)
const Aws::String & GetSnsTopicARN() const
void SetConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties &&value)
DeliveryChannel & WithS3BucketName(Aws::String &&value)
DeliveryChannel & WithS3KmsKeyArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue