AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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