AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationPolicyResult.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 UpdateConfigurationPolicyResult();
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 UpdateConfigurationPolicyResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline UpdateConfigurationPolicyResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline UpdateConfigurationPolicyResult& 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 UpdateConfigurationPolicyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline UpdateConfigurationPolicyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline UpdateConfigurationPolicyResult& 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 UpdateConfigurationPolicyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline UpdateConfigurationPolicyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline UpdateConfigurationPolicyResult& 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 UpdateConfigurationPolicyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline UpdateConfigurationPolicyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline UpdateConfigurationPolicyResult& 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 UpdateConfigurationPolicyResult& 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 UpdateConfigurationPolicyResult& 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 UpdateConfigurationPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
139 inline UpdateConfigurationPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
140 inline UpdateConfigurationPolicyResult& 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
UpdateConfigurationPolicyResult & WithArn(const char *value)
AWS_SECURITYHUB_API UpdateConfigurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API UpdateConfigurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConfigurationPolicyResult & WithDescription(const Aws::String &value)
UpdateConfigurationPolicyResult & WithConfigurationPolicy(const Policy &value)
UpdateConfigurationPolicyResult & WithId(const Aws::String &value)
UpdateConfigurationPolicyResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateConfigurationPolicyResult & WithArn(Aws::String &&value)
UpdateConfigurationPolicyResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateConfigurationPolicyResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
UpdateConfigurationPolicyResult & WithDescription(const char *value)
UpdateConfigurationPolicyResult & WithName(const Aws::String &value)
UpdateConfigurationPolicyResult & WithName(const char *value)
UpdateConfigurationPolicyResult & WithRequestId(Aws::String &&value)
UpdateConfigurationPolicyResult & WithName(Aws::String &&value)
UpdateConfigurationPolicyResult & WithRequestId(const char *value)
UpdateConfigurationPolicyResult & WithId(const char *value)
UpdateConfigurationPolicyResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateConfigurationPolicyResult & WithConfigurationPolicy(Policy &&value)
UpdateConfigurationPolicyResult & WithArn(const Aws::String &value)
UpdateConfigurationPolicyResult & WithRequestId(const Aws::String &value)
UpdateConfigurationPolicyResult & WithId(Aws::String &&value)
UpdateConfigurationPolicyResult & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue