/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ConnectCampaigns { namespace Model { /** *

The request for StartInstanceOnboardingJob API.

See Also:

AWS * API Reference

*/ class StartInstanceOnboardingJobRequest : public ConnectCampaignsRequest { public: AWS_CONNECTCAMPAIGNS_API StartInstanceOnboardingJobRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartInstanceOnboardingJob"; } AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override; inline const Aws::String& GetConnectInstanceId() const{ return m_connectInstanceId; } inline bool ConnectInstanceIdHasBeenSet() const { return m_connectInstanceIdHasBeenSet; } inline void SetConnectInstanceId(const Aws::String& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = value; } inline void SetConnectInstanceId(Aws::String&& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = std::move(value); } inline void SetConnectInstanceId(const char* value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId.assign(value); } inline StartInstanceOnboardingJobRequest& WithConnectInstanceId(const Aws::String& value) { SetConnectInstanceId(value); return *this;} inline StartInstanceOnboardingJobRequest& WithConnectInstanceId(Aws::String&& value) { SetConnectInstanceId(std::move(value)); return *this;} inline StartInstanceOnboardingJobRequest& WithConnectInstanceId(const char* value) { SetConnectInstanceId(value); return *this;} inline const EncryptionConfig& GetEncryptionConfig() const{ return m_encryptionConfig; } inline bool EncryptionConfigHasBeenSet() const { return m_encryptionConfigHasBeenSet; } inline void SetEncryptionConfig(const EncryptionConfig& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = value; } inline void SetEncryptionConfig(EncryptionConfig&& value) { m_encryptionConfigHasBeenSet = true; m_encryptionConfig = std::move(value); } inline StartInstanceOnboardingJobRequest& WithEncryptionConfig(const EncryptionConfig& value) { SetEncryptionConfig(value); return *this;} inline StartInstanceOnboardingJobRequest& WithEncryptionConfig(EncryptionConfig&& value) { SetEncryptionConfig(std::move(value)); return *this;} private: Aws::String m_connectInstanceId; bool m_connectInstanceIdHasBeenSet = false; EncryptionConfig m_encryptionConfig; bool m_encryptionConfigHasBeenSet = false; }; } // namespace Model } // namespace ConnectCampaigns } // namespace Aws