AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RightsizingRecommendationMetadata.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ce/model/LookbackPeriodInDays.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CostExplorer
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_COSTEXPLORER_API RightsizingRecommendationMetadata();
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
46 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
47 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
48 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
49 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
52 inline RightsizingRecommendationMetadata& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
54
56
59 inline const Aws::String& GetGenerationTimestamp() const{ return m_generationTimestamp; }
60 inline bool GenerationTimestampHasBeenSet() const { return m_generationTimestampHasBeenSet; }
61 inline void SetGenerationTimestamp(const Aws::String& value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp = value; }
62 inline void SetGenerationTimestamp(Aws::String&& value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp = std::move(value); }
63 inline void SetGenerationTimestamp(const char* value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp.assign(value); }
66 inline RightsizingRecommendationMetadata& WithGenerationTimestamp(const char* value) { SetGenerationTimestamp(value); return *this;}
68
70
74 inline const LookbackPeriodInDays& GetLookbackPeriodInDays() const{ return m_lookbackPeriodInDays; }
75 inline bool LookbackPeriodInDaysHasBeenSet() const { return m_lookbackPeriodInDaysHasBeenSet; }
76 inline void SetLookbackPeriodInDays(const LookbackPeriodInDays& value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = value; }
77 inline void SetLookbackPeriodInDays(LookbackPeriodInDays&& value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = std::move(value); }
81
83
86 inline const Aws::String& GetAdditionalMetadata() const{ return m_additionalMetadata; }
87 inline bool AdditionalMetadataHasBeenSet() const { return m_additionalMetadataHasBeenSet; }
88 inline void SetAdditionalMetadata(const Aws::String& value) { m_additionalMetadataHasBeenSet = true; m_additionalMetadata = value; }
89 inline void SetAdditionalMetadata(Aws::String&& value) { m_additionalMetadataHasBeenSet = true; m_additionalMetadata = std::move(value); }
90 inline void SetAdditionalMetadata(const char* value) { m_additionalMetadataHasBeenSet = true; m_additionalMetadata.assign(value); }
93 inline RightsizingRecommendationMetadata& WithAdditionalMetadata(const char* value) { SetAdditionalMetadata(value); return *this;}
95 private:
96
97 Aws::String m_recommendationId;
98 bool m_recommendationIdHasBeenSet = false;
99
100 Aws::String m_generationTimestamp;
101 bool m_generationTimestampHasBeenSet = false;
102
103 LookbackPeriodInDays m_lookbackPeriodInDays;
104 bool m_lookbackPeriodInDaysHasBeenSet = false;
105
106 Aws::String m_additionalMetadata;
107 bool m_additionalMetadataHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CostExplorer
112} // namespace Aws
RightsizingRecommendationMetadata & WithRecommendationId(const Aws::String &value)
RightsizingRecommendationMetadata & WithGenerationTimestamp(Aws::String &&value)
RightsizingRecommendationMetadata & WithLookbackPeriodInDays(LookbackPeriodInDays &&value)
RightsizingRecommendationMetadata & WithLookbackPeriodInDays(const LookbackPeriodInDays &value)
RightsizingRecommendationMetadata & WithRecommendationId(Aws::String &&value)
RightsizingRecommendationMetadata & WithGenerationTimestamp(const char *value)
AWS_COSTEXPLORER_API RightsizingRecommendationMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
RightsizingRecommendationMetadata & WithGenerationTimestamp(const Aws::String &value)
RightsizingRecommendationMetadata & WithRecommendationId(const char *value)
RightsizingRecommendationMetadata & WithAdditionalMetadata(Aws::String &&value)
RightsizingRecommendationMetadata & WithAdditionalMetadata(const char *value)
RightsizingRecommendationMetadata & WithAdditionalMetadata(const Aws::String &value)
AWS_COSTEXPLORER_API RightsizingRecommendationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue