AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CreateScalingPlanResult.h
1
6#pragma once
7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AutoScalingPlans {
23namespace Model {
25 public:
26 AWS_AUTOSCALINGPLANS_API CreateScalingPlanResult() = default;
29
31
35 inline long long GetScalingPlanVersion() const { return m_scalingPlanVersion; }
36 inline void SetScalingPlanVersion(long long value) {
37 m_scalingPlanVersionHasBeenSet = true;
38 m_scalingPlanVersion = value;
39 }
42 return *this;
43 }
45
47
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 template <typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) {
51 m_requestIdHasBeenSet = true;
52 m_requestId = std::forward<RequestIdT>(value);
53 }
54 template <typename RequestIdT = Aws::String>
56 SetRequestId(std::forward<RequestIdT>(value));
57 return *this;
58 }
60 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
61
62 private:
63 long long m_scalingPlanVersion{0};
64
65 Aws::String m_requestId;
66 Aws::Http::HttpResponseCode m_HttpResponseCode;
67 bool m_scalingPlanVersionHasBeenSet = false;
68 bool m_requestIdHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace AutoScalingPlans
73} // namespace Aws
AWS_AUTOSCALINGPLANS_API CreateScalingPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateScalingPlanResult & WithScalingPlanVersion(long long value)
AWS_AUTOSCALINGPLANS_API CreateScalingPlanResult()=default
CreateScalingPlanResult & WithRequestId(RequestIdT &&value)
AWS_AUTOSCALINGPLANS_API CreateScalingPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue