AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfigurationPolicyResult.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/securityhub/model/Policy.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 SecurityHub
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SECURITYHUB_API CreateConfigurationPolicyResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline CreateConfigurationPolicyResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline CreateConfigurationPolicyResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline CreateConfigurationPolicyResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline void SetId(const Aws::String& value) { m_id = value; }
56 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
57 inline void SetId(const char* value) { m_id.assign(value); }
58 inline CreateConfigurationPolicyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline CreateConfigurationPolicyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline CreateConfigurationPolicyResult& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline void SetName(const Aws::String& value) { m_name = value; }
69 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
70 inline void SetName(const char* value) { m_name.assign(value); }
71 inline CreateConfigurationPolicyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline CreateConfigurationPolicyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline CreateConfigurationPolicyResult& WithName(const char* value) { SetName(value); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline void SetDescription(const Aws::String& value) { m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_description.assign(value); }
84 inline CreateConfigurationPolicyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline CreateConfigurationPolicyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline CreateConfigurationPolicyResult& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
95 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
96 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
98 inline CreateConfigurationPolicyResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
100
102
106 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
107 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
108 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
110 inline CreateConfigurationPolicyResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
112
114
125 inline const Policy& GetConfigurationPolicy() const{ return m_configurationPolicy; }
126 inline void SetConfigurationPolicy(const Policy& value) { m_configurationPolicy = value; }
127 inline void SetConfigurationPolicy(Policy&& value) { m_configurationPolicy = std::move(value); }
131
133
134 inline const Aws::String& GetRequestId() const{ return m_requestId; }
135 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
136 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
137 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
138 inline CreateConfigurationPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
139 inline CreateConfigurationPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
140 inline CreateConfigurationPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
142 private:
143
144 Aws::String m_arn;
145
146 Aws::String m_id;
147
148 Aws::String m_name;
149
150 Aws::String m_description;
151
152 Aws::Utils::DateTime m_updatedAt;
153
154 Aws::Utils::DateTime m_createdAt;
155
156 Policy m_configurationPolicy;
157
158 Aws::String m_requestId;
159 };
160
161} // namespace Model
162} // namespace SecurityHub
163} // namespace Aws
AWS_SECURITYHUB_API CreateConfigurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationPolicyResult & WithDescription(Aws::String &&value)
CreateConfigurationPolicyResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateConfigurationPolicyResult & WithDescription(const Aws::String &value)
CreateConfigurationPolicyResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreateConfigurationPolicyResult & WithArn(const char *value)
CreateConfigurationPolicyResult & WithId(Aws::String &&value)
CreateConfigurationPolicyResult & WithConfigurationPolicy(Policy &&value)
CreateConfigurationPolicyResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateConfigurationPolicyResult & WithArn(Aws::String &&value)
CreateConfigurationPolicyResult & WithRequestId(const char *value)
CreateConfigurationPolicyResult & WithId(const Aws::String &value)
CreateConfigurationPolicyResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_SECURITYHUB_API CreateConfigurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationPolicyResult & WithRequestId(const Aws::String &value)
CreateConfigurationPolicyResult & WithName(Aws::String &&value)
CreateConfigurationPolicyResult & WithDescription(const char *value)
CreateConfigurationPolicyResult & WithArn(const Aws::String &value)
CreateConfigurationPolicyResult & WithRequestId(Aws::String &&value)
CreateConfigurationPolicyResult & WithId(const char *value)
CreateConfigurationPolicyResult & WithConfigurationPolicy(const Policy &value)
CreateConfigurationPolicyResult & WithName(const char *value)
CreateConfigurationPolicyResult & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue