AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
AssociateCurationPolicyResult.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Cbor {
19class CborValue;
20} // namespace Cbor
21} // namespace Utils
22namespace Context {
23namespace Model {
32 public:
33 AWS_CONTEXT_API AssociateCurationPolicyResult() = default;
36
38
41 inline const Aws::String& GetAgentContextId() const { return m_agentContextId; }
42 template <typename AgentContextIdT = Aws::String>
43 void SetAgentContextId(AgentContextIdT&& value) {
44 m_agentContextIdHasBeenSet = true;
45 m_agentContextId = std::forward<AgentContextIdT>(value);
46 }
47 template <typename AgentContextIdT = Aws::String>
49 SetAgentContextId(std::forward<AgentContextIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCurationPolicyId() const { return m_curationPolicyId; }
59 template <typename CurationPolicyIdT = Aws::String>
60 void SetCurationPolicyId(CurationPolicyIdT&& value) {
61 m_curationPolicyIdHasBeenSet = true;
62 m_curationPolicyId = std::forward<CurationPolicyIdT>(value);
63 }
64 template <typename CurationPolicyIdT = Aws::String>
66 SetCurationPolicyId(std::forward<CurationPolicyIdT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
86
87 private:
88 Aws::String m_agentContextId;
89
90 Aws::String m_curationPolicyId;
91
92 Aws::String m_requestId;
93 Aws::Http::HttpResponseCode m_HttpResponseCode;
94 bool m_agentContextIdHasBeenSet = false;
95 bool m_curationPolicyIdHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Context
101} // namespace Aws
AssociateCurationPolicyResult & WithCurationPolicyId(CurationPolicyIdT &&value)
AssociateCurationPolicyResult & WithRequestId(RequestIdT &&value)
AssociateCurationPolicyResult & WithAgentContextId(AgentContextIdT &&value)
AWS_CONTEXT_API AssociateCurationPolicyResult()=default
AWS_CONTEXT_API AssociateCurationPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_CONTEXT_API AssociateCurationPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String