AWS SDK for C++  1.9.159
AWS SDK for C++
InstanceStorageConfig.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace Connect
27 {
28 namespace Model
29 {
30 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
50 
55  inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
56 
61  inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
62 
67  inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
68 
73  inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
74 
79  inline InstanceStorageConfig& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
80 
85  inline InstanceStorageConfig& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
86 
91  inline InstanceStorageConfig& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
92 
93 
97  inline const StorageType& GetStorageType() const{ return m_storageType; }
98 
102  inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
103 
107  inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
108 
112  inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
113 
117  inline InstanceStorageConfig& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
118 
122  inline InstanceStorageConfig& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
123 
124 
128  inline const S3Config& GetS3Config() const{ return m_s3Config; }
129 
133  inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
134 
138  inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; }
139 
143  inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); }
144 
148  inline InstanceStorageConfig& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
149 
153  inline InstanceStorageConfig& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;}
154 
155 
159  inline const KinesisVideoStreamConfig& GetKinesisVideoStreamConfig() const{ return m_kinesisVideoStreamConfig; }
160 
164  inline bool KinesisVideoStreamConfigHasBeenSet() const { return m_kinesisVideoStreamConfigHasBeenSet; }
165 
169  inline void SetKinesisVideoStreamConfig(const KinesisVideoStreamConfig& value) { m_kinesisVideoStreamConfigHasBeenSet = true; m_kinesisVideoStreamConfig = value; }
170 
174  inline void SetKinesisVideoStreamConfig(KinesisVideoStreamConfig&& value) { m_kinesisVideoStreamConfigHasBeenSet = true; m_kinesisVideoStreamConfig = std::move(value); }
175 
179  inline InstanceStorageConfig& WithKinesisVideoStreamConfig(const KinesisVideoStreamConfig& value) { SetKinesisVideoStreamConfig(value); return *this;}
180 
184  inline InstanceStorageConfig& WithKinesisVideoStreamConfig(KinesisVideoStreamConfig&& value) { SetKinesisVideoStreamConfig(std::move(value)); return *this;}
185 
186 
190  inline const KinesisStreamConfig& GetKinesisStreamConfig() const{ return m_kinesisStreamConfig; }
191 
195  inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; }
196 
200  inline void SetKinesisStreamConfig(const KinesisStreamConfig& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = value; }
201 
205  inline void SetKinesisStreamConfig(KinesisStreamConfig&& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = std::move(value); }
206 
210  inline InstanceStorageConfig& WithKinesisStreamConfig(const KinesisStreamConfig& value) { SetKinesisStreamConfig(value); return *this;}
211 
215  inline InstanceStorageConfig& WithKinesisStreamConfig(KinesisStreamConfig&& value) { SetKinesisStreamConfig(std::move(value)); return *this;}
216 
217 
221  inline const KinesisFirehoseConfig& GetKinesisFirehoseConfig() const{ return m_kinesisFirehoseConfig; }
222 
226  inline bool KinesisFirehoseConfigHasBeenSet() const { return m_kinesisFirehoseConfigHasBeenSet; }
227 
231  inline void SetKinesisFirehoseConfig(const KinesisFirehoseConfig& value) { m_kinesisFirehoseConfigHasBeenSet = true; m_kinesisFirehoseConfig = value; }
232 
236  inline void SetKinesisFirehoseConfig(KinesisFirehoseConfig&& value) { m_kinesisFirehoseConfigHasBeenSet = true; m_kinesisFirehoseConfig = std::move(value); }
237 
241  inline InstanceStorageConfig& WithKinesisFirehoseConfig(const KinesisFirehoseConfig& value) { SetKinesisFirehoseConfig(value); return *this;}
242 
246  inline InstanceStorageConfig& WithKinesisFirehoseConfig(KinesisFirehoseConfig&& value) { SetKinesisFirehoseConfig(std::move(value)); return *this;}
247 
248  private:
249 
250  Aws::String m_associationId;
251  bool m_associationIdHasBeenSet;
252 
253  StorageType m_storageType;
254  bool m_storageTypeHasBeenSet;
255 
256  S3Config m_s3Config;
257  bool m_s3ConfigHasBeenSet;
258 
259  KinesisVideoStreamConfig m_kinesisVideoStreamConfig;
260  bool m_kinesisVideoStreamConfigHasBeenSet;
261 
262  KinesisStreamConfig m_kinesisStreamConfig;
263  bool m_kinesisStreamConfigHasBeenSet;
264 
265  KinesisFirehoseConfig m_kinesisFirehoseConfig;
266  bool m_kinesisFirehoseConfigHasBeenSet;
267  };
268 
269 } // namespace Model
270 } // namespace Connect
271 } // namespace Aws
Aws::Connect::Model::KinesisFirehoseConfig
Definition: KinesisFirehoseConfig.h:33
Aws::Connect::Model::InstanceStorageConfig::WithStorageType
InstanceStorageConfig & WithStorageType(StorageType &&value)
Definition: InstanceStorageConfig.h:122
Aws::Connect::Model::InstanceStorageConfig::GetKinesisStreamConfig
const KinesisStreamConfig & GetKinesisStreamConfig() const
Definition: InstanceStorageConfig.h:190
Aws::Connect::Model::InstanceStorageConfig::WithKinesisVideoStreamConfig
InstanceStorageConfig & WithKinesisVideoStreamConfig(const KinesisVideoStreamConfig &value)
Definition: InstanceStorageConfig.h:179
Aws::Connect::Model::InstanceStorageConfig::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: InstanceStorageConfig.h:55
KinesisStreamConfig.h
Aws::Connect::Model::InstanceStorageConfig::operator=
InstanceStorageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::InstanceStorageConfig::SetAssociationId
void SetAssociationId(const char *value)
Definition: InstanceStorageConfig.h:73
Aws::Connect::Model::InstanceStorageConfig::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: InstanceStorageConfig.h:49
Aws::Connect::Model::InstanceStorageConfig::WithAssociationId
InstanceStorageConfig & WithAssociationId(Aws::String &&value)
Definition: InstanceStorageConfig.h:85
Aws::Connect::Model::InstanceStorageConfig::GetKinesisFirehoseConfig
const KinesisFirehoseConfig & GetKinesisFirehoseConfig() const
Definition: InstanceStorageConfig.h:221
Aws::Connect::Model::InstanceStorageConfig::WithKinesisVideoStreamConfig
InstanceStorageConfig & WithKinesisVideoStreamConfig(KinesisVideoStreamConfig &&value)
Definition: InstanceStorageConfig.h:184
Aws::Connect::Model::InstanceStorageConfig::S3ConfigHasBeenSet
bool S3ConfigHasBeenSet() const
Definition: InstanceStorageConfig.h:133
Aws::Connect::Model::KinesisVideoStreamConfig
Definition: KinesisVideoStreamConfig.h:34
Aws::Connect::Model::InstanceStorageConfig::WithKinesisFirehoseConfig
InstanceStorageConfig & WithKinesisFirehoseConfig(const KinesisFirehoseConfig &value)
Definition: InstanceStorageConfig.h:241
StorageType.h
S3Config.h
Aws::Connect::Model::InstanceStorageConfig::InstanceStorageConfig
InstanceStorageConfig()
Aws::Connect::Model::InstanceStorageConfig::GetS3Config
const S3Config & GetS3Config() const
Definition: InstanceStorageConfig.h:128
Aws::Connect::Model::InstanceStorageConfig::SetStorageType
void SetStorageType(const StorageType &value)
Definition: InstanceStorageConfig.h:107
Aws::Connect::Model::InstanceStorageConfig::SetStorageType
void SetStorageType(StorageType &&value)
Definition: InstanceStorageConfig.h:112
Aws::Connect::Model::InstanceStorageConfig::StorageTypeHasBeenSet
bool StorageTypeHasBeenSet() const
Definition: InstanceStorageConfig.h:102
Aws::Connect::Model::InstanceStorageConfig::WithKinesisStreamConfig
InstanceStorageConfig & WithKinesisStreamConfig(const KinesisStreamConfig &value)
Definition: InstanceStorageConfig.h:210
Aws::Connect::Model::InstanceStorageConfig::WithKinesisStreamConfig
InstanceStorageConfig & WithKinesisStreamConfig(KinesisStreamConfig &&value)
Definition: InstanceStorageConfig.h:215
Aws::Connect::Model::S3Config
Definition: S3Config.h:34
Aws::Connect::Model::InstanceStorageConfig::SetKinesisFirehoseConfig
void SetKinesisFirehoseConfig(const KinesisFirehoseConfig &value)
Definition: InstanceStorageConfig.h:231
Aws::Connect::Model::InstanceStorageConfig::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: InstanceStorageConfig.h:67
Aws::Connect::Model::InstanceStorageConfig::WithKinesisFirehoseConfig
InstanceStorageConfig & WithKinesisFirehoseConfig(KinesisFirehoseConfig &&value)
Definition: InstanceStorageConfig.h:246
Aws::Connect::Model::InstanceStorageConfig::KinesisFirehoseConfigHasBeenSet
bool KinesisFirehoseConfigHasBeenSet() const
Definition: InstanceStorageConfig.h:226
Aws::Connect::Model::InstanceStorageConfig::GetKinesisVideoStreamConfig
const KinesisVideoStreamConfig & GetKinesisVideoStreamConfig() const
Definition: InstanceStorageConfig.h:159
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::InstanceStorageConfig::SetKinesisStreamConfig
void SetKinesisStreamConfig(const KinesisStreamConfig &value)
Definition: InstanceStorageConfig.h:200
AWSString.h
Aws::Connect::Model::InstanceStorageConfig::WithAssociationId
InstanceStorageConfig & WithAssociationId(const char *value)
Definition: InstanceStorageConfig.h:91
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::InstanceStorageConfig::SetS3Config
void SetS3Config(S3Config &&value)
Definition: InstanceStorageConfig.h:143
Aws::Connect::Model::InstanceStorageConfig::WithS3Config
InstanceStorageConfig & WithS3Config(S3Config &&value)
Definition: InstanceStorageConfig.h:153
Aws::Connect::Model::KinesisStreamConfig
Definition: KinesisStreamConfig.h:33
KinesisFirehoseConfig.h
Aws::Connect::Model::InstanceStorageConfig
Definition: InstanceStorageConfig.h:37
Aws::Connect::Model::InstanceStorageConfig::WithS3Config
InstanceStorageConfig & WithS3Config(const S3Config &value)
Definition: InstanceStorageConfig.h:148
Aws::Connect::Model::InstanceStorageConfig::KinesisStreamConfigHasBeenSet
bool KinesisStreamConfigHasBeenSet() const
Definition: InstanceStorageConfig.h:195
Aws::Connect::Model::InstanceStorageConfig::SetKinesisFirehoseConfig
void SetKinesisFirehoseConfig(KinesisFirehoseConfig &&value)
Definition: InstanceStorageConfig.h:236
Aws::Connect::Model::StorageType
StorageType
Definition: StorageType.h:17
Aws::Connect::Model::InstanceStorageConfig::SetKinesisVideoStreamConfig
void SetKinesisVideoStreamConfig(KinesisVideoStreamConfig &&value)
Definition: InstanceStorageConfig.h:174
Aws::Connect::Model::InstanceStorageConfig::WithStorageType
InstanceStorageConfig & WithStorageType(const StorageType &value)
Definition: InstanceStorageConfig.h:117
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
KinesisVideoStreamConfig.h
Aws::Connect::Model::InstanceStorageConfig::SetS3Config
void SetS3Config(const S3Config &value)
Definition: InstanceStorageConfig.h:138
Aws::Connect::Model::InstanceStorageConfig::SetKinesisVideoStreamConfig
void SetKinesisVideoStreamConfig(const KinesisVideoStreamConfig &value)
Definition: InstanceStorageConfig.h:169
Aws::Connect::Model::InstanceStorageConfig::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: InstanceStorageConfig.h:61
Aws::Connect::Model::InstanceStorageConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::InstanceStorageConfig::InstanceStorageConfig
InstanceStorageConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::InstanceStorageConfig::SetKinesisStreamConfig
void SetKinesisStreamConfig(KinesisStreamConfig &&value)
Definition: InstanceStorageConfig.h:205
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::InstanceStorageConfig::GetStorageType
const StorageType & GetStorageType() const
Definition: InstanceStorageConfig.h:97
Connect_EXPORTS.h
Aws::Connect::Model::InstanceStorageConfig::WithAssociationId
InstanceStorageConfig & WithAssociationId(const Aws::String &value)
Definition: InstanceStorageConfig.h:79
Aws::Connect::Model::InstanceStorageConfig::KinesisVideoStreamConfigHasBeenSet
bool KinesisVideoStreamConfigHasBeenSet() const
Definition: InstanceStorageConfig.h:164