AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceStorageConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/StorageType.h>
10#include <aws/connect/model/S3Config.h>
11#include <aws/connect/model/KinesisVideoStreamConfig.h>
12#include <aws/connect/model/KinesisStreamConfig.h>
13#include <aws/connect/model/KinesisFirehoseConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Connect
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_CONNECT_API InstanceStorageConfig();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
51 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
52 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
53 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
54 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
55 inline InstanceStorageConfig& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
56 inline InstanceStorageConfig& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
57 inline InstanceStorageConfig& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
59
61
64 inline const StorageType& GetStorageType() const{ return m_storageType; }
65 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
66 inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
67 inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
68 inline InstanceStorageConfig& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
69 inline InstanceStorageConfig& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
71
73
76 inline const S3Config& GetS3Config() const{ return m_s3Config; }
77 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
78 inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; }
79 inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); }
80 inline InstanceStorageConfig& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
81 inline InstanceStorageConfig& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;}
83
85
88 inline const KinesisVideoStreamConfig& GetKinesisVideoStreamConfig() const{ return m_kinesisVideoStreamConfig; }
89 inline bool KinesisVideoStreamConfigHasBeenSet() const { return m_kinesisVideoStreamConfigHasBeenSet; }
90 inline void SetKinesisVideoStreamConfig(const KinesisVideoStreamConfig& value) { m_kinesisVideoStreamConfigHasBeenSet = true; m_kinesisVideoStreamConfig = value; }
91 inline void SetKinesisVideoStreamConfig(KinesisVideoStreamConfig&& value) { m_kinesisVideoStreamConfigHasBeenSet = true; m_kinesisVideoStreamConfig = std::move(value); }
95
97
100 inline const KinesisStreamConfig& GetKinesisStreamConfig() const{ return m_kinesisStreamConfig; }
101 inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; }
102 inline void SetKinesisStreamConfig(const KinesisStreamConfig& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = value; }
103 inline void SetKinesisStreamConfig(KinesisStreamConfig&& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = std::move(value); }
107
109
112 inline const KinesisFirehoseConfig& GetKinesisFirehoseConfig() const{ return m_kinesisFirehoseConfig; }
113 inline bool KinesisFirehoseConfigHasBeenSet() const { return m_kinesisFirehoseConfigHasBeenSet; }
114 inline void SetKinesisFirehoseConfig(const KinesisFirehoseConfig& value) { m_kinesisFirehoseConfigHasBeenSet = true; m_kinesisFirehoseConfig = value; }
115 inline void SetKinesisFirehoseConfig(KinesisFirehoseConfig&& value) { m_kinesisFirehoseConfigHasBeenSet = true; m_kinesisFirehoseConfig = std::move(value); }
119 private:
120
121 Aws::String m_associationId;
122 bool m_associationIdHasBeenSet = false;
123
124 StorageType m_storageType;
125 bool m_storageTypeHasBeenSet = false;
126
127 S3Config m_s3Config;
128 bool m_s3ConfigHasBeenSet = false;
129
130 KinesisVideoStreamConfig m_kinesisVideoStreamConfig;
131 bool m_kinesisVideoStreamConfigHasBeenSet = false;
132
133 KinesisStreamConfig m_kinesisStreamConfig;
134 bool m_kinesisStreamConfigHasBeenSet = false;
135
136 KinesisFirehoseConfig m_kinesisFirehoseConfig;
137 bool m_kinesisFirehoseConfigHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Connect
142} // namespace Aws
InstanceStorageConfig & WithKinesisVideoStreamConfig(KinesisVideoStreamConfig &&value)
InstanceStorageConfig & WithKinesisStreamConfig(const KinesisStreamConfig &value)
void SetKinesisFirehoseConfig(const KinesisFirehoseConfig &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const KinesisStreamConfig & GetKinesisStreamConfig() const
void SetKinesisStreamConfig(KinesisStreamConfig &&value)
InstanceStorageConfig & WithAssociationId(Aws::String &&value)
void SetKinesisFirehoseConfig(KinesisFirehoseConfig &&value)
InstanceStorageConfig & WithAssociationId(const char *value)
InstanceStorageConfig & WithKinesisFirehoseConfig(const KinesisFirehoseConfig &value)
const KinesisVideoStreamConfig & GetKinesisVideoStreamConfig() const
InstanceStorageConfig & WithKinesisVideoStreamConfig(const KinesisVideoStreamConfig &value)
void SetKinesisStreamConfig(const KinesisStreamConfig &value)
InstanceStorageConfig & WithStorageType(const StorageType &value)
InstanceStorageConfig & WithS3Config(S3Config &&value)
void SetStorageType(const StorageType &value)
void SetKinesisVideoStreamConfig(const KinesisVideoStreamConfig &value)
AWS_CONNECT_API InstanceStorageConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API InstanceStorageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const KinesisFirehoseConfig & GetKinesisFirehoseConfig() const
InstanceStorageConfig & WithKinesisFirehoseConfig(KinesisFirehoseConfig &&value)
InstanceStorageConfig & WithAssociationId(const Aws::String &value)
InstanceStorageConfig & WithS3Config(const S3Config &value)
void SetKinesisVideoStreamConfig(KinesisVideoStreamConfig &&value)
InstanceStorageConfig & WithKinesisStreamConfig(KinesisStreamConfig &&value)
InstanceStorageConfig & WithStorageType(StorageType &&value)
void SetAssociationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue