AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceConfig.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaigns/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 ConnectCampaigns
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCAMPAIGNS_API InstanceConfig();
36 AWS_CONNECTCAMPAIGNS_API InstanceConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNS_API InstanceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNS_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 inline void SetConnectInstanceId(const Aws::String& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = value; }
46 inline void SetConnectInstanceId(Aws::String&& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = std::move(value); }
47 inline void SetConnectInstanceId(const char* value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId.assign(value); }
48 inline InstanceConfig& WithConnectInstanceId(const Aws::String& value) { SetConnectInstanceId(value); return *this;}
49 inline InstanceConfig& WithConnectInstanceId(Aws::String&& value) { SetConnectInstanceId(std::move(value)); return *this;}
50 inline InstanceConfig& WithConnectInstanceId(const char* value) { SetConnectInstanceId(value); return *this;}
52
54
55 inline const Aws::String& GetServiceLinkedRoleArn() const{ return m_serviceLinkedRoleArn; }
56 inline bool ServiceLinkedRoleArnHasBeenSet() const { return m_serviceLinkedRoleArnHasBeenSet; }
57 inline void SetServiceLinkedRoleArn(const Aws::String& value) { m_serviceLinkedRoleArnHasBeenSet = true; m_serviceLinkedRoleArn = value; }
58 inline void SetServiceLinkedRoleArn(Aws::String&& value) { m_serviceLinkedRoleArnHasBeenSet = true; m_serviceLinkedRoleArn = std::move(value); }
59 inline void SetServiceLinkedRoleArn(const char* value) { m_serviceLinkedRoleArnHasBeenSet = true; m_serviceLinkedRoleArn.assign(value); }
60 inline InstanceConfig& WithServiceLinkedRoleArn(const Aws::String& value) { SetServiceLinkedRoleArn(value); return *this;}
61 inline InstanceConfig& WithServiceLinkedRoleArn(Aws::String&& value) { SetServiceLinkedRoleArn(std::move(value)); return *this;}
62 inline InstanceConfig& WithServiceLinkedRoleArn(const char* value) { SetServiceLinkedRoleArn(value); return *this;}
64
66
67 inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; }
68 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
69 inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; }
70 inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); }
71 inline InstanceConfig& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;}
72 inline InstanceConfig& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_connectInstanceId;
77 bool m_connectInstanceIdHasBeenSet = false;
78
79 Aws::String m_serviceLinkedRoleArn;
80 bool m_serviceLinkedRoleArnHasBeenSet = false;
81
82 EncryptionConfig m_encryptionConfig;
83 bool m_encryptionConfigHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ConnectCampaigns
88} // namespace Aws
AWS_CONNECTCAMPAIGNS_API InstanceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceConfig & WithServiceLinkedRoleArn(const Aws::String &value)
void SetServiceLinkedRoleArn(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API InstanceConfig(Aws::Utils::Json::JsonView jsonValue)
const EncryptionConfig & GetEncryptionConfig() const
void SetEncryptionConfig(const EncryptionConfig &value)
InstanceConfig & WithEncryptionConfig(const EncryptionConfig &value)
const Aws::String & GetConnectInstanceId() const
void SetServiceLinkedRoleArn(Aws::String &&value)
void SetConnectInstanceId(Aws::String &&value)
const Aws::String & GetServiceLinkedRoleArn() const
void SetEncryptionConfig(EncryptionConfig &&value)
InstanceConfig & WithEncryptionConfig(EncryptionConfig &&value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceConfig & WithConnectInstanceId(const char *value)
InstanceConfig & WithConnectInstanceId(const Aws::String &value)
AWS_CONNECTCAMPAIGNS_API InstanceConfig()
void SetConnectInstanceId(const Aws::String &value)
InstanceConfig & WithConnectInstanceId(Aws::String &&value)
InstanceConfig & WithServiceLinkedRoleArn(const char *value)
InstanceConfig & WithServiceLinkedRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue