AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceDataSyncS3Destination.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/ResourceDataSyncS3Format.h>
10#include <aws/ssm/model/ResourceDataSyncDestinationDataSharing.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
48 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
49 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
50 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
51 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
52 inline ResourceDataSyncS3Destination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
53 inline ResourceDataSyncS3Destination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
54 inline ResourceDataSyncS3Destination& WithBucketName(const char* value) { SetBucketName(value); return *this;}
56
58
61 inline const Aws::String& GetPrefix() const{ return m_prefix; }
62 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
63 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
64 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
65 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
66 inline ResourceDataSyncS3Destination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
67 inline ResourceDataSyncS3Destination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
68 inline ResourceDataSyncS3Destination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
70
72
76 inline const ResourceDataSyncS3Format& GetSyncFormat() const{ return m_syncFormat; }
77 inline bool SyncFormatHasBeenSet() const { return m_syncFormatHasBeenSet; }
78 inline void SetSyncFormat(const ResourceDataSyncS3Format& value) { m_syncFormatHasBeenSet = true; m_syncFormat = value; }
79 inline void SetSyncFormat(ResourceDataSyncS3Format&& value) { m_syncFormatHasBeenSet = true; m_syncFormat = std::move(value); }
81 inline ResourceDataSyncS3Destination& WithSyncFormat(ResourceDataSyncS3Format&& value) { SetSyncFormat(std::move(value)); return *this;}
83
85
89 inline const Aws::String& GetRegion() const{ return m_region; }
90 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
91 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
92 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
93 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
94 inline ResourceDataSyncS3Destination& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
95 inline ResourceDataSyncS3Destination& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
96 inline ResourceDataSyncS3Destination& WithRegion(const char* value) { SetRegion(value); return *this;}
98
100
104 inline const Aws::String& GetAWSKMSKeyARN() const{ return m_aWSKMSKeyARN; }
105 inline bool AWSKMSKeyARNHasBeenSet() const { return m_aWSKMSKeyARNHasBeenSet; }
106 inline void SetAWSKMSKeyARN(const Aws::String& value) { m_aWSKMSKeyARNHasBeenSet = true; m_aWSKMSKeyARN = value; }
107 inline void SetAWSKMSKeyARN(Aws::String&& value) { m_aWSKMSKeyARNHasBeenSet = true; m_aWSKMSKeyARN = std::move(value); }
108 inline void SetAWSKMSKeyARN(const char* value) { m_aWSKMSKeyARNHasBeenSet = true; m_aWSKMSKeyARN.assign(value); }
109 inline ResourceDataSyncS3Destination& WithAWSKMSKeyARN(const Aws::String& value) { SetAWSKMSKeyARN(value); return *this;}
110 inline ResourceDataSyncS3Destination& WithAWSKMSKeyARN(Aws::String&& value) { SetAWSKMSKeyARN(std::move(value)); return *this;}
111 inline ResourceDataSyncS3Destination& WithAWSKMSKeyARN(const char* value) { SetAWSKMSKeyARN(value); return *this;}
113
115
119 inline const ResourceDataSyncDestinationDataSharing& GetDestinationDataSharing() const{ return m_destinationDataSharing; }
120 inline bool DestinationDataSharingHasBeenSet() const { return m_destinationDataSharingHasBeenSet; }
121 inline void SetDestinationDataSharing(const ResourceDataSyncDestinationDataSharing& value) { m_destinationDataSharingHasBeenSet = true; m_destinationDataSharing = value; }
122 inline void SetDestinationDataSharing(ResourceDataSyncDestinationDataSharing&& value) { m_destinationDataSharingHasBeenSet = true; m_destinationDataSharing = std::move(value); }
126 private:
127
128 Aws::String m_bucketName;
129 bool m_bucketNameHasBeenSet = false;
130
131 Aws::String m_prefix;
132 bool m_prefixHasBeenSet = false;
133
134 ResourceDataSyncS3Format m_syncFormat;
135 bool m_syncFormatHasBeenSet = false;
136
137 Aws::String m_region;
138 bool m_regionHasBeenSet = false;
139
140 Aws::String m_aWSKMSKeyARN;
141 bool m_aWSKMSKeyARNHasBeenSet = false;
142
143 ResourceDataSyncDestinationDataSharing m_destinationDataSharing;
144 bool m_destinationDataSharingHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SSM
149} // namespace Aws
ResourceDataSyncS3Destination & WithBucketName(const char *value)
ResourceDataSyncS3Destination & WithAWSKMSKeyARN(const char *value)
void SetSyncFormat(const ResourceDataSyncS3Format &value)
ResourceDataSyncS3Destination & WithRegion(const Aws::String &value)
ResourceDataSyncS3Destination & WithPrefix(const Aws::String &value)
AWS_SSM_API ResourceDataSyncS3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceDataSyncS3Destination & WithAWSKMSKeyARN(const Aws::String &value)
ResourceDataSyncS3Destination & WithPrefix(const char *value)
const ResourceDataSyncDestinationDataSharing & GetDestinationDataSharing() const
ResourceDataSyncS3Destination & WithDestinationDataSharing(const ResourceDataSyncDestinationDataSharing &value)
ResourceDataSyncS3Destination & WithRegion(Aws::String &&value)
const ResourceDataSyncS3Format & GetSyncFormat() const
ResourceDataSyncS3Destination & WithSyncFormat(const ResourceDataSyncS3Format &value)
ResourceDataSyncS3Destination & WithRegion(const char *value)
ResourceDataSyncS3Destination & WithSyncFormat(ResourceDataSyncS3Format &&value)
void SetDestinationDataSharing(ResourceDataSyncDestinationDataSharing &&value)
ResourceDataSyncS3Destination & WithAWSKMSKeyARN(Aws::String &&value)
ResourceDataSyncS3Destination & WithBucketName(const Aws::String &value)
ResourceDataSyncS3Destination & WithPrefix(Aws::String &&value)
AWS_SSM_API ResourceDataSyncS3Destination(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationDataSharing(const ResourceDataSyncDestinationDataSharing &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataSyncS3Destination & WithBucketName(Aws::String &&value)
ResourceDataSyncS3Destination & WithDestinationDataSharing(ResourceDataSyncDestinationDataSharing &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue