AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
CreateScalingPlanResult.h
1
6#pragma once
7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AutoScalingPlans
24{
25namespace Model
26{
28 {
29 public:
30 AWS_AUTOSCALINGPLANS_API CreateScalingPlanResult() = default;
33
34
36
40 inline long long GetScalingPlanVersion() const { return m_scalingPlanVersion; }
41 inline void SetScalingPlanVersion(long long value) { m_scalingPlanVersionHasBeenSet = true; m_scalingPlanVersion = value; }
42 inline CreateScalingPlanResult& WithScalingPlanVersion(long long value) { SetScalingPlanVersion(value); return *this;}
44
46
47 inline const Aws::String& GetRequestId() const { return m_requestId; }
48 template<typename RequestIdT = Aws::String>
49 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
50 template<typename RequestIdT = Aws::String>
51 CreateScalingPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
53 private:
54
55 long long m_scalingPlanVersion{0};
56 bool m_scalingPlanVersionHasBeenSet = false;
57
58 Aws::String m_requestId;
59 bool m_requestIdHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace AutoScalingPlans
64} // 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