AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InstanceConfig.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaignsv2/model/EncryptionConfig.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 ConnectCampaignsV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCAMPAIGNSV2_API InstanceConfig() = default;
36 AWS_CONNECTCAMPAIGNSV2_API InstanceConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNSV2_API InstanceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetConnectInstanceId() const { return m_connectInstanceId; }
44 inline bool ConnectInstanceIdHasBeenSet() const { return m_connectInstanceIdHasBeenSet; }
45 template<typename ConnectInstanceIdT = Aws::String>
46 void SetConnectInstanceId(ConnectInstanceIdT&& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = std::forward<ConnectInstanceIdT>(value); }
47 template<typename ConnectInstanceIdT = Aws::String>
48 InstanceConfig& WithConnectInstanceId(ConnectInstanceIdT&& value) { SetConnectInstanceId(std::forward<ConnectInstanceIdT>(value)); return *this;}
50
52
53 inline const Aws::String& GetServiceLinkedRoleArn() const { return m_serviceLinkedRoleArn; }
54 inline bool ServiceLinkedRoleArnHasBeenSet() const { return m_serviceLinkedRoleArnHasBeenSet; }
55 template<typename ServiceLinkedRoleArnT = Aws::String>
56 void SetServiceLinkedRoleArn(ServiceLinkedRoleArnT&& value) { m_serviceLinkedRoleArnHasBeenSet = true; m_serviceLinkedRoleArn = std::forward<ServiceLinkedRoleArnT>(value); }
57 template<typename ServiceLinkedRoleArnT = Aws::String>
58 InstanceConfig& WithServiceLinkedRoleArn(ServiceLinkedRoleArnT&& value) { SetServiceLinkedRoleArn(std::forward<ServiceLinkedRoleArnT>(value)); return *this;}
60
62
63 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
64 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
65 template<typename EncryptionConfigT = EncryptionConfig>
66 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
67 template<typename EncryptionConfigT = EncryptionConfig>
68 InstanceConfig& WithEncryptionConfig(EncryptionConfigT&& value) { SetEncryptionConfig(std::forward<EncryptionConfigT>(value)); return *this;}
70 private:
71
72 Aws::String m_connectInstanceId;
73 bool m_connectInstanceIdHasBeenSet = false;
74
75 Aws::String m_serviceLinkedRoleArn;
76 bool m_serviceLinkedRoleArnHasBeenSet = false;
77
78 EncryptionConfig m_encryptionConfig;
79 bool m_encryptionConfigHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ConnectCampaignsV2
84} // namespace Aws
void SetServiceLinkedRoleArn(ServiceLinkedRoleArnT &&value)
const EncryptionConfig & GetEncryptionConfig() const
AWS_CONNECTCAMPAIGNSV2_API InstanceConfig(Aws::Utils::Json::JsonView jsonValue)
InstanceConfig & WithConnectInstanceId(ConnectInstanceIdT &&value)
InstanceConfig & WithServiceLinkedRoleArn(ServiceLinkedRoleArnT &&value)
const Aws::String & GetConnectInstanceId() const
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCAMPAIGNSV2_API InstanceConfig()=default
const Aws::String & GetServiceLinkedRoleArn() const
InstanceConfig & WithEncryptionConfig(EncryptionConfigT &&value)
void SetEncryptionConfig(EncryptionConfigT &&value)
void SetConnectInstanceId(ConnectInstanceIdT &&value)
AWS_CONNECTCAMPAIGNSV2_API InstanceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue