AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetConfigurationPolicyResult.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 GetConfigurationPolicyResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetConfigurationPolicyResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 GetConfigurationPolicyResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 GetConfigurationPolicyResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 GetConfigurationPolicyResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
87 template<typename UpdatedAtT = Aws::Utils::DateTime>
88 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
89 template<typename UpdatedAtT = Aws::Utils::DateTime>
90 GetConfigurationPolicyResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
92
94
98 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
99 template<typename CreatedAtT = Aws::Utils::DateTime>
100 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
101 template<typename CreatedAtT = Aws::Utils::DateTime>
102 GetConfigurationPolicyResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
104
106
116 inline const Policy& GetConfigurationPolicy() const { return m_configurationPolicy; }
117 template<typename ConfigurationPolicyT = Policy>
118 void SetConfigurationPolicy(ConfigurationPolicyT&& value) { m_configurationPolicyHasBeenSet = true; m_configurationPolicy = std::forward<ConfigurationPolicyT>(value); }
119 template<typename ConfigurationPolicyT = Policy>
120 GetConfigurationPolicyResult& WithConfigurationPolicy(ConfigurationPolicyT&& value) { SetConfigurationPolicy(std::forward<ConfigurationPolicyT>(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 GetConfigurationPolicyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_arn;
134 bool m_arnHasBeenSet = false;
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_description;
143 bool m_descriptionHasBeenSet = false;
144
145 Aws::Utils::DateTime m_updatedAt{};
146 bool m_updatedAtHasBeenSet = false;
147
148 Aws::Utils::DateTime m_createdAt{};
149 bool m_createdAtHasBeenSet = false;
150
151 Policy m_configurationPolicy;
152 bool m_configurationPolicyHasBeenSet = false;
153
154 Aws::String m_requestId;
155 bool m_requestIdHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace SecurityHub
160} // namespace Aws
AWS_SECURITYHUB_API GetConfigurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyResult & WithDescription(DescriptionT &&value)
GetConfigurationPolicyResult & WithName(NameT &&value)
AWS_SECURITYHUB_API GetConfigurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyResult & WithRequestId(RequestIdT &&value)
GetConfigurationPolicyResult & WithCreatedAt(CreatedAtT &&value)
GetConfigurationPolicyResult & WithUpdatedAt(UpdatedAtT &&value)
GetConfigurationPolicyResult & WithConfigurationPolicy(ConfigurationPolicyT &&value)
AWS_SECURITYHUB_API GetConfigurationPolicyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue