AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidateSecurityProfileBehaviorsResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ValidationError.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline bool GetValid() const{ return m_valid; }
42 inline void SetValid(bool value) { m_valid = value; }
43 inline ValidateSecurityProfileBehaviorsResult& WithValid(bool value) { SetValid(value); return *this;}
45
47
50 inline const Aws::Vector<ValidationError>& GetValidationErrors() const{ return m_validationErrors; }
51 inline void SetValidationErrors(const Aws::Vector<ValidationError>& value) { m_validationErrors = value; }
52 inline void SetValidationErrors(Aws::Vector<ValidationError>&& value) { m_validationErrors = std::move(value); }
55 inline ValidateSecurityProfileBehaviorsResult& AddValidationErrors(const ValidationError& value) { m_validationErrors.push_back(value); return *this; }
56 inline ValidateSecurityProfileBehaviorsResult& AddValidationErrors(ValidationError&& value) { m_validationErrors.push_back(std::move(value)); return *this; }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline ValidateSecurityProfileBehaviorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline ValidateSecurityProfileBehaviorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 bool m_valid;
72
73 Aws::Vector<ValidationError> m_validationErrors;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace IoT
80} // namespace Aws
AWS_IOT_API ValidateSecurityProfileBehaviorsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API ValidateSecurityProfileBehaviorsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ValidateSecurityProfileBehaviorsResult & WithValid(bool value)
ValidateSecurityProfileBehaviorsResult & WithRequestId(Aws::String &&value)
ValidateSecurityProfileBehaviorsResult & WithValidationErrors(const Aws::Vector< ValidationError > &value)
ValidateSecurityProfileBehaviorsResult & WithValidationErrors(Aws::Vector< ValidationError > &&value)
ValidateSecurityProfileBehaviorsResult & AddValidationErrors(ValidationError &&value)
ValidateSecurityProfileBehaviorsResult & WithRequestId(const Aws::String &value)
ValidateSecurityProfileBehaviorsResult & WithRequestId(const char *value)
void SetValidationErrors(const Aws::Vector< ValidationError > &value)
ValidateSecurityProfileBehaviorsResult & AddValidationErrors(const ValidationError &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