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 <aws/inspector/model/AgentAlreadyRunningAssessment.h>
51 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
77 inline void SetAgentsTruncated(
bool value) { m_agentsTruncatedHasBeenSet =
true; m_agentsTruncated = value; }
87 inline void SetCanRetry(
bool value) { m_canRetryHasBeenSet =
true; m_canRetry = value; }
93 bool m_messageHasBeenSet =
false;
96 bool m_agentsHasBeenSet =
false;
98 bool m_agentsTruncated;
99 bool m_agentsTruncatedHasBeenSet =
false;
102 bool m_canRetryHasBeenSet =
false;
AgentsAlreadyRunningAssessmentException & WithAgentsTruncated(bool value)
bool AgentsHasBeenSet() const
void SetAgents(const Aws::Vector< AgentAlreadyRunningAssessment > &value)
AgentsAlreadyRunningAssessmentException & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
bool GetAgentsTruncated() const
void SetAgentsTruncated(bool value)
AgentsAlreadyRunningAssessmentException & AddAgents(AgentAlreadyRunningAssessment &&value)
void SetMessage(Aws::String &&value)
const Aws::Vector< AgentAlreadyRunningAssessment > & GetAgents() const
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgents(Aws::Vector< AgentAlreadyRunningAssessment > &&value)
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
AgentsAlreadyRunningAssessmentException & AddAgents(const AgentAlreadyRunningAssessment &value)
AgentsAlreadyRunningAssessmentException & WithMessage(Aws::String &&value)
AgentsAlreadyRunningAssessmentException & WithMessage(const char *value)
bool AgentsTruncatedHasBeenSet() const
AWS_INSPECTOR_API AgentsAlreadyRunningAssessmentException(Aws::Utils::Json::JsonView jsonValue)
AgentsAlreadyRunningAssessmentException & WithCanRetry(bool value)
const Aws::String & GetMessage() const
AgentsAlreadyRunningAssessmentException & WithAgents(Aws::Vector< AgentAlreadyRunningAssessment > &&value)
AWS_INSPECTOR_API AgentsAlreadyRunningAssessmentException()
AgentsAlreadyRunningAssessmentException & WithAgents(const Aws::Vector< AgentAlreadyRunningAssessment > &value)
bool CanRetryHasBeenSet() const
AWS_INSPECTOR_API AgentsAlreadyRunningAssessmentException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCanRetry(bool 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