AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GenerateRuleConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace NetworkSecurityManager {
23namespace Model {
25 public:
26 AWS_NETWORKSECURITYMANAGER_API GenerateRuleConfigurationResult() = default;
28 AWS_NETWORKSECURITYMANAGER_API GenerateRuleConfigurationResult& operator=(
30
32
36 inline const Aws::String& GetConfiguration() const { return m_configuration; }
37 template <typename ConfigurationT = Aws::String>
38 void SetConfiguration(ConfigurationT&& value) {
39 m_configurationHasBeenSet = true;
40 m_configuration = std::forward<ConfigurationT>(value);
41 }
42 template <typename ConfigurationT = Aws::String>
44 SetConfiguration(std::forward<ConfigurationT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::String m_configuration;
85
86 Aws::String m_description;
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_configurationHasBeenSet = false;
91 bool m_descriptionHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace NetworkSecurityManager
97} // namespace Aws
AWS_NETWORKSECURITYMANAGER_API GenerateRuleConfigurationResult()=default
AWS_NETWORKSECURITYMANAGER_API GenerateRuleConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateRuleConfigurationResult & WithDescription(DescriptionT &&value)
AWS_NETWORKSECURITYMANAGER_API GenerateRuleConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateRuleConfigurationResult & WithConfiguration(ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue