AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
CreateKeySigningKeyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/ChangeInfo.h>
11#include <aws/route53/model/KeySigningKey.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Route53 {
25namespace Model {
27 public:
28 AWS_ROUTE53_API CreateKeySigningKeyResult() = default;
31
33
34 inline const ChangeInfo& GetChangeInfo() const { return m_changeInfo; }
35 template <typename ChangeInfoT = ChangeInfo>
36 void SetChangeInfo(ChangeInfoT&& value) {
37 m_changeInfoHasBeenSet = true;
38 m_changeInfo = std::forward<ChangeInfoT>(value);
39 }
40 template <typename ChangeInfoT = ChangeInfo>
42 SetChangeInfo(std::forward<ChangeInfoT>(value));
43 return *this;
44 }
46
48
51 inline const KeySigningKey& GetKeySigningKey() const { return m_keySigningKey; }
52 template <typename KeySigningKeyT = KeySigningKey>
53 void SetKeySigningKey(KeySigningKeyT&& value) {
54 m_keySigningKeyHasBeenSet = true;
55 m_keySigningKey = std::forward<KeySigningKeyT>(value);
56 }
57 template <typename KeySigningKeyT = KeySigningKey>
59 SetKeySigningKey(std::forward<KeySigningKeyT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetLocation() const { return m_location; }
69 template <typename LocationT = Aws::String>
70 void SetLocation(LocationT&& value) {
71 m_locationHasBeenSet = true;
72 m_location = std::forward<LocationT>(value);
73 }
74 template <typename LocationT = Aws::String>
76 SetLocation(std::forward<LocationT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 ChangeInfo m_changeInfo;
99
100 KeySigningKey m_keySigningKey;
101
102 Aws::String m_location;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_changeInfoHasBeenSet = false;
107 bool m_keySigningKeyHasBeenSet = false;
108 bool m_locationHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Route53
114} // namespace Aws
CreateKeySigningKeyResult & WithKeySigningKey(KeySigningKeyT &&value)
AWS_ROUTE53_API CreateKeySigningKeyResult()=default
CreateKeySigningKeyResult & WithRequestId(RequestIdT &&value)
CreateKeySigningKeyResult & WithChangeInfo(ChangeInfoT &&value)
CreateKeySigningKeyResult & WithLocation(LocationT &&value)
AWS_ROUTE53_API CreateKeySigningKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ROUTE53_API CreateKeySigningKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument