AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceOnboardingJobStatus.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/InstanceOnboardingJobStatusCode.h>
10#include <aws/connectcampaigns/model/InstanceOnboardingJobFailureCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectCampaigns
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTCAMPAIGNS_API InstanceOnboardingJobStatus();
37 AWS_CONNECTCAMPAIGNS_API InstanceOnboardingJobStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetConnectInstanceId() const{ return m_connectInstanceId; }
45 inline bool ConnectInstanceIdHasBeenSet() const { return m_connectInstanceIdHasBeenSet; }
46 inline void SetConnectInstanceId(const Aws::String& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = value; }
47 inline void SetConnectInstanceId(Aws::String&& value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId = std::move(value); }
48 inline void SetConnectInstanceId(const char* value) { m_connectInstanceIdHasBeenSet = true; m_connectInstanceId.assign(value); }
50 inline InstanceOnboardingJobStatus& WithConnectInstanceId(Aws::String&& value) { SetConnectInstanceId(std::move(value)); return *this;}
51 inline InstanceOnboardingJobStatus& WithConnectInstanceId(const char* value) { SetConnectInstanceId(value); return *this;}
53
55
56 inline const InstanceOnboardingJobStatusCode& GetStatus() const{ return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(const InstanceOnboardingJobStatusCode& value) { m_statusHasBeenSet = true; m_status = value; }
59 inline void SetStatus(InstanceOnboardingJobStatusCode&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline InstanceOnboardingJobStatus& WithStatus(InstanceOnboardingJobStatusCode&& value) { SetStatus(std::move(value)); return *this;}
63
65
66 inline const InstanceOnboardingJobFailureCode& GetFailureCode() const{ return m_failureCode; }
67 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
68 inline void SetFailureCode(const InstanceOnboardingJobFailureCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
69 inline void SetFailureCode(InstanceOnboardingJobFailureCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
73 private:
74
75 Aws::String m_connectInstanceId;
76 bool m_connectInstanceIdHasBeenSet = false;
77
79 bool m_statusHasBeenSet = false;
80
82 bool m_failureCodeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace ConnectCampaigns
87} // namespace Aws
InstanceOnboardingJobStatus & WithFailureCode(const InstanceOnboardingJobFailureCode &value)
const InstanceOnboardingJobFailureCode & GetFailureCode() const
InstanceOnboardingJobStatus & WithConnectInstanceId(Aws::String &&value)
const InstanceOnboardingJobStatusCode & GetStatus() const
InstanceOnboardingJobStatus & WithConnectInstanceId(const Aws::String &value)
InstanceOnboardingJobStatus & WithStatus(InstanceOnboardingJobStatusCode &&value)
AWS_CONNECTCAMPAIGNS_API InstanceOnboardingJobStatus(Aws::Utils::Json::JsonView jsonValue)
InstanceOnboardingJobStatus & WithConnectInstanceId(const char *value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureCode(const InstanceOnboardingJobFailureCode &value)
AWS_CONNECTCAMPAIGNS_API InstanceOnboardingJobStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceOnboardingJobStatus & WithStatus(const InstanceOnboardingJobStatusCode &value)
void SetStatus(const InstanceOnboardingJobStatusCode &value)
void SetFailureCode(InstanceOnboardingJobFailureCode &&value)
InstanceOnboardingJobStatus & WithFailureCode(InstanceOnboardingJobFailureCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue