AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentRunInProgressException.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMessage() const{ return m_message; }
47 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
50 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
51 inline AssessmentRunInProgressException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
52 inline AssessmentRunInProgressException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
53 inline AssessmentRunInProgressException& WithMessage(const char* value) { SetMessage(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetAssessmentRunArns() const{ return m_assessmentRunArns; }
61 inline bool AssessmentRunArnsHasBeenSet() const { return m_assessmentRunArnsHasBeenSet; }
62 inline void SetAssessmentRunArns(const Aws::Vector<Aws::String>& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns = value; }
63 inline void SetAssessmentRunArns(Aws::Vector<Aws::String>&& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns = std::move(value); }
66 inline AssessmentRunInProgressException& AddAssessmentRunArns(const Aws::String& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(value); return *this; }
67 inline AssessmentRunInProgressException& AddAssessmentRunArns(Aws::String&& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(std::move(value)); return *this; }
68 inline AssessmentRunInProgressException& AddAssessmentRunArns(const char* value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(value); return *this; }
70
72
76 inline bool GetAssessmentRunArnsTruncated() const{ return m_assessmentRunArnsTruncated; }
77 inline bool AssessmentRunArnsTruncatedHasBeenSet() const { return m_assessmentRunArnsTruncatedHasBeenSet; }
78 inline void SetAssessmentRunArnsTruncated(bool value) { m_assessmentRunArnsTruncatedHasBeenSet = true; m_assessmentRunArnsTruncated = value; }
81
83
86 inline bool GetCanRetry() const{ return m_canRetry; }
87 inline bool CanRetryHasBeenSet() const { return m_canRetryHasBeenSet; }
88 inline void SetCanRetry(bool value) { m_canRetryHasBeenSet = true; m_canRetry = value; }
89 inline AssessmentRunInProgressException& WithCanRetry(bool value) { SetCanRetry(value); return *this;}
91 private:
92
93 Aws::String m_message;
94 bool m_messageHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_assessmentRunArns;
97 bool m_assessmentRunArnsHasBeenSet = false;
98
99 bool m_assessmentRunArnsTruncated;
100 bool m_assessmentRunArnsTruncatedHasBeenSet = false;
101
102 bool m_canRetry;
103 bool m_canRetryHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Inspector
108} // namespace Aws
AssessmentRunInProgressException & AddAssessmentRunArns(const char *value)
AWS_INSPECTOR_API AssessmentRunInProgressException & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentRunInProgressException & AddAssessmentRunArns(const Aws::String &value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentRunInProgressException & AddAssessmentRunArns(Aws::String &&value)
AssessmentRunInProgressException & WithMessage(const Aws::String &value)
AWS_INSPECTOR_API AssessmentRunInProgressException(Aws::Utils::Json::JsonView jsonValue)
AssessmentRunInProgressException & WithAssessmentRunArns(Aws::Vector< Aws::String > &&value)
void SetAssessmentRunArns(const Aws::Vector< Aws::String > &value)
AssessmentRunInProgressException & WithMessage(const char *value)
AssessmentRunInProgressException & WithAssessmentRunArnsTruncated(bool value)
AssessmentRunInProgressException & WithAssessmentRunArns(const Aws::Vector< Aws::String > &value)
AssessmentRunInProgressException & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue