AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
CreateSecurityProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_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 IoT {
23namespace Model {
25 public:
26 AWS_IOT_API CreateSecurityProfileResult() = default;
29
31
34 inline const Aws::String& GetSecurityProfileName() const { return m_securityProfileName; }
35 template <typename SecurityProfileNameT = Aws::String>
36 void SetSecurityProfileName(SecurityProfileNameT&& value) {
37 m_securityProfileNameHasBeenSet = true;
38 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
39 }
40 template <typename SecurityProfileNameT = Aws::String>
42 SetSecurityProfileName(std::forward<SecurityProfileNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetSecurityProfileArn() const { return m_securityProfileArn; }
52 template <typename SecurityProfileArnT = Aws::String>
53 void SetSecurityProfileArn(SecurityProfileArnT&& value) {
54 m_securityProfileArnHasBeenSet = true;
55 m_securityProfileArn = std::forward<SecurityProfileArnT>(value);
56 }
57 template <typename SecurityProfileArnT = Aws::String>
59 SetSecurityProfileArn(std::forward<SecurityProfileArnT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_securityProfileName;
82
83 Aws::String m_securityProfileArn;
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_securityProfileNameHasBeenSet = false;
88 bool m_securityProfileArnHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace IoT
94} // namespace Aws
CreateSecurityProfileResult & WithSecurityProfileName(SecurityProfileNameT &&value)
AWS_IOT_API CreateSecurityProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSecurityProfileResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetSecurityProfileName(SecurityProfileNameT &&value)
AWS_IOT_API CreateSecurityProfileResult()=default
AWS_IOT_API CreateSecurityProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSecurityProfileResult & WithSecurityProfileArn(SecurityProfileArnT &&value)
void SetSecurityProfileArn(SecurityProfileArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue