AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartInstanceOnboardingJobRequest.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/ConnectCampaignsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcampaignsv2/model/EncryptionConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectCampaignsV2
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CONNECTCAMPAIGNSV2_API StartInstanceOnboardingJobRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartInstanceOnboardingJob"; }
35
36 AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetConnectInstanceId() const { return m_connectInstanceId; }
42 inline bool ConnectInstanceIdHasBeenSet() const { return m_connectInstanceIdHasBeenSet; }
43 template<typename ConnectInstanceIdT = Aws::String>
44 void SetConnectInstanceId(ConnectInstanceIdT&& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = std::forward<ConnectInstanceIdT>(value); }
45 template<typename ConnectInstanceIdT = Aws::String>
46 StartInstanceOnboardingJobRequest& WithConnectInstanceId(ConnectInstanceIdT&& value) { SetConnectInstanceId(std::forward<ConnectInstanceIdT>(value)); return *this;}
48
50
51 inline const EncryptionConfig& GetEncryptionConfig() const { return m_encryptionConfig; }
52 inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; }
53 template<typename EncryptionConfigT = EncryptionConfig>
54 void SetEncryptionConfig(EncryptionConfigT&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::forward<EncryptionConfigT>(value); }
55 template<typename EncryptionConfigT = EncryptionConfig>
56 StartInstanceOnboardingJobRequest& WithEncryptionConfig(EncryptionConfigT&& value) { SetEncryptionConfig(std::forward<EncryptionConfigT>(value)); return *this;}
58 private:
59
60 Aws::String m_connectInstanceId;
61 bool m_connectInstanceIdHasBeenSet = false;
62
63 EncryptionConfig m_encryptionConfig;
64 bool m_encryptionConfigHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace ConnectCampaignsV2
69} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API StartInstanceOnboardingJobRequest()=default
StartInstanceOnboardingJobRequest & WithEncryptionConfig(EncryptionConfigT &&value)
StartInstanceOnboardingJobRequest & WithConnectInstanceId(ConnectInstanceIdT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String