AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopCisSessionMessage.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/ComputePlatform.h>
10#include <aws/inspector2/model/StopCisMessageProgress.h>
11#include <aws/inspector2/model/StopCisSessionStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Inspector2
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_INSPECTOR2_API StopCisSessionMessage();
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetBenchmarkProfile() const{ return m_benchmarkProfile; }
48 inline bool BenchmarkProfileHasBeenSet() const { return m_benchmarkProfileHasBeenSet; }
49 inline void SetBenchmarkProfile(const Aws::String& value) { m_benchmarkProfileHasBeenSet = true; m_benchmarkProfile = value; }
50 inline void SetBenchmarkProfile(Aws::String&& value) { m_benchmarkProfileHasBeenSet = true; m_benchmarkProfile = std::move(value); }
51 inline void SetBenchmarkProfile(const char* value) { m_benchmarkProfileHasBeenSet = true; m_benchmarkProfile.assign(value); }
52 inline StopCisSessionMessage& WithBenchmarkProfile(const Aws::String& value) { SetBenchmarkProfile(value); return *this;}
53 inline StopCisSessionMessage& WithBenchmarkProfile(Aws::String&& value) { SetBenchmarkProfile(std::move(value)); return *this;}
54 inline StopCisSessionMessage& WithBenchmarkProfile(const char* value) { SetBenchmarkProfile(value); return *this;}
56
58
61 inline const Aws::String& GetBenchmarkVersion() const{ return m_benchmarkVersion; }
62 inline bool BenchmarkVersionHasBeenSet() const { return m_benchmarkVersionHasBeenSet; }
63 inline void SetBenchmarkVersion(const Aws::String& value) { m_benchmarkVersionHasBeenSet = true; m_benchmarkVersion = value; }
64 inline void SetBenchmarkVersion(Aws::String&& value) { m_benchmarkVersionHasBeenSet = true; m_benchmarkVersion = std::move(value); }
65 inline void SetBenchmarkVersion(const char* value) { m_benchmarkVersionHasBeenSet = true; m_benchmarkVersion.assign(value); }
66 inline StopCisSessionMessage& WithBenchmarkVersion(const Aws::String& value) { SetBenchmarkVersion(value); return *this;}
67 inline StopCisSessionMessage& WithBenchmarkVersion(Aws::String&& value) { SetBenchmarkVersion(std::move(value)); return *this;}
68 inline StopCisSessionMessage& WithBenchmarkVersion(const char* value) { SetBenchmarkVersion(value); return *this;}
70
72
75 inline const ComputePlatform& GetComputePlatform() const{ return m_computePlatform; }
76 inline bool ComputePlatformHasBeenSet() const { return m_computePlatformHasBeenSet; }
77 inline void SetComputePlatform(const ComputePlatform& value) { m_computePlatformHasBeenSet = true; m_computePlatform = value; }
78 inline void SetComputePlatform(ComputePlatform&& value) { m_computePlatformHasBeenSet = true; m_computePlatform = std::move(value); }
79 inline StopCisSessionMessage& WithComputePlatform(const ComputePlatform& value) { SetComputePlatform(value); return *this;}
80 inline StopCisSessionMessage& WithComputePlatform(ComputePlatform&& value) { SetComputePlatform(std::move(value)); return *this;}
82
84
87 inline const StopCisMessageProgress& GetProgress() const{ return m_progress; }
88 inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; }
89 inline void SetProgress(const StopCisMessageProgress& value) { m_progressHasBeenSet = true; m_progress = value; }
90 inline void SetProgress(StopCisMessageProgress&& value) { m_progressHasBeenSet = true; m_progress = std::move(value); }
91 inline StopCisSessionMessage& WithProgress(const StopCisMessageProgress& value) { SetProgress(value); return *this;}
92 inline StopCisSessionMessage& WithProgress(StopCisMessageProgress&& value) { SetProgress(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetReason() const{ return m_reason; }
100 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
101 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
102 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
103 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
104 inline StopCisSessionMessage& WithReason(const Aws::String& value) { SetReason(value); return *this;}
105 inline StopCisSessionMessage& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
106 inline StopCisSessionMessage& WithReason(const char* value) { SetReason(value); return *this;}
108
110
113 inline const StopCisSessionStatus& GetStatus() const{ return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(const StopCisSessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
116 inline void SetStatus(StopCisSessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
117 inline StopCisSessionMessage& WithStatus(const StopCisSessionStatus& value) { SetStatus(value); return *this;}
118 inline StopCisSessionMessage& WithStatus(StopCisSessionStatus&& value) { SetStatus(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_benchmarkProfile;
123 bool m_benchmarkProfileHasBeenSet = false;
124
125 Aws::String m_benchmarkVersion;
126 bool m_benchmarkVersionHasBeenSet = false;
127
128 ComputePlatform m_computePlatform;
129 bool m_computePlatformHasBeenSet = false;
130
131 StopCisMessageProgress m_progress;
132 bool m_progressHasBeenSet = false;
133
134 Aws::String m_reason;
135 bool m_reasonHasBeenSet = false;
136
137 StopCisSessionStatus m_status;
138 bool m_statusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Inspector2
143} // namespace Aws
StopCisSessionMessage & WithStatus(StopCisSessionStatus &&value)
void SetProgress(const StopCisMessageProgress &value)
StopCisSessionMessage & WithBenchmarkVersion(const Aws::String &value)
StopCisSessionMessage & WithReason(const char *value)
void SetComputePlatform(const ComputePlatform &value)
AWS_INSPECTOR2_API StopCisSessionMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
StopCisSessionMessage & WithProgress(const StopCisMessageProgress &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
StopCisSessionMessage & WithBenchmarkVersion(const char *value)
StopCisSessionMessage & WithReason(const Aws::String &value)
StopCisSessionMessage & WithStatus(const StopCisSessionStatus &value)
const StopCisMessageProgress & GetProgress() const
StopCisSessionMessage & WithBenchmarkProfile(Aws::String &&value)
void SetProgress(StopCisMessageProgress &&value)
StopCisSessionMessage & WithBenchmarkProfile(const Aws::String &value)
const ComputePlatform & GetComputePlatform() const
StopCisSessionMessage & WithComputePlatform(ComputePlatform &&value)
StopCisSessionMessage & WithBenchmarkProfile(const char *value)
StopCisSessionMessage & WithBenchmarkVersion(Aws::String &&value)
AWS_INSPECTOR2_API StopCisSessionMessage(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const StopCisSessionStatus &value)
const StopCisSessionStatus & GetStatus() const
StopCisSessionMessage & WithComputePlatform(const ComputePlatform &value)
StopCisSessionMessage & WithReason(Aws::String &&value)
StopCisSessionMessage & WithProgress(StopCisMessageProgress &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue