AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerationSummary.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/GenerationStatus.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
34 {
35 public:
36 AWS_COSTEXPLORER_API GenerationSummary();
37 AWS_COSTEXPLORER_API GenerationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API GenerationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
47 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
48 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
49 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
50 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
51 inline GenerationSummary& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;}
52 inline GenerationSummary& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
53 inline GenerationSummary& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
55
57
61 inline const GenerationStatus& GetGenerationStatus() const{ return m_generationStatus; }
62 inline bool GenerationStatusHasBeenSet() const { return m_generationStatusHasBeenSet; }
63 inline void SetGenerationStatus(const GenerationStatus& value) { m_generationStatusHasBeenSet = true; m_generationStatus = value; }
64 inline void SetGenerationStatus(GenerationStatus&& value) { m_generationStatusHasBeenSet = true; m_generationStatus = std::move(value); }
65 inline GenerationSummary& WithGenerationStatus(const GenerationStatus& value) { SetGenerationStatus(value); return *this;}
66 inline GenerationSummary& WithGenerationStatus(GenerationStatus&& value) { SetGenerationStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetGenerationStartedTime() const{ return m_generationStartedTime; }
74 inline bool GenerationStartedTimeHasBeenSet() const { return m_generationStartedTimeHasBeenSet; }
75 inline void SetGenerationStartedTime(const Aws::String& value) { m_generationStartedTimeHasBeenSet = true; m_generationStartedTime = value; }
76 inline void SetGenerationStartedTime(Aws::String&& value) { m_generationStartedTimeHasBeenSet = true; m_generationStartedTime = std::move(value); }
77 inline void SetGenerationStartedTime(const char* value) { m_generationStartedTimeHasBeenSet = true; m_generationStartedTime.assign(value); }
79 inline GenerationSummary& WithGenerationStartedTime(Aws::String&& value) { SetGenerationStartedTime(std::move(value)); return *this;}
80 inline GenerationSummary& WithGenerationStartedTime(const char* value) { SetGenerationStartedTime(value); return *this;}
82
84
87 inline const Aws::String& GetGenerationCompletionTime() const{ return m_generationCompletionTime; }
88 inline bool GenerationCompletionTimeHasBeenSet() const { return m_generationCompletionTimeHasBeenSet; }
89 inline void SetGenerationCompletionTime(const Aws::String& value) { m_generationCompletionTimeHasBeenSet = true; m_generationCompletionTime = value; }
90 inline void SetGenerationCompletionTime(Aws::String&& value) { m_generationCompletionTimeHasBeenSet = true; m_generationCompletionTime = std::move(value); }
91 inline void SetGenerationCompletionTime(const char* value) { m_generationCompletionTimeHasBeenSet = true; m_generationCompletionTime.assign(value); }
94 inline GenerationSummary& WithGenerationCompletionTime(const char* value) { SetGenerationCompletionTime(value); return *this;}
96
98
102 inline const Aws::String& GetEstimatedCompletionTime() const{ return m_estimatedCompletionTime; }
103 inline bool EstimatedCompletionTimeHasBeenSet() const { return m_estimatedCompletionTimeHasBeenSet; }
104 inline void SetEstimatedCompletionTime(const Aws::String& value) { m_estimatedCompletionTimeHasBeenSet = true; m_estimatedCompletionTime = value; }
105 inline void SetEstimatedCompletionTime(Aws::String&& value) { m_estimatedCompletionTimeHasBeenSet = true; m_estimatedCompletionTime = std::move(value); }
106 inline void SetEstimatedCompletionTime(const char* value) { m_estimatedCompletionTimeHasBeenSet = true; m_estimatedCompletionTime.assign(value); }
108 inline GenerationSummary& WithEstimatedCompletionTime(Aws::String&& value) { SetEstimatedCompletionTime(std::move(value)); return *this;}
109 inline GenerationSummary& WithEstimatedCompletionTime(const char* value) { SetEstimatedCompletionTime(value); return *this;}
111 private:
112
113 Aws::String m_recommendationId;
114 bool m_recommendationIdHasBeenSet = false;
115
116 GenerationStatus m_generationStatus;
117 bool m_generationStatusHasBeenSet = false;
118
119 Aws::String m_generationStartedTime;
120 bool m_generationStartedTimeHasBeenSet = false;
121
122 Aws::String m_generationCompletionTime;
123 bool m_generationCompletionTimeHasBeenSet = false;
124
125 Aws::String m_estimatedCompletionTime;
126 bool m_estimatedCompletionTimeHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace CostExplorer
131} // namespace Aws
GenerationSummary & WithGenerationStatus(const GenerationStatus &value)
AWS_COSTEXPLORER_API GenerationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
GenerationSummary & WithGenerationCompletionTime(Aws::String &&value)
GenerationSummary & WithGenerationStatus(GenerationStatus &&value)
GenerationSummary & WithEstimatedCompletionTime(const Aws::String &value)
void SetGenerationStatus(const GenerationStatus &value)
const Aws::String & GetGenerationCompletionTime() const
GenerationSummary & WithRecommendationId(const Aws::String &value)
GenerationSummary & WithRecommendationId(Aws::String &&value)
GenerationSummary & WithGenerationStartedTime(Aws::String &&value)
void SetGenerationStartedTime(const Aws::String &value)
const Aws::String & GetRecommendationId() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGenerationCompletionTime(const Aws::String &value)
const Aws::String & GetGenerationStartedTime() const
const Aws::String & GetEstimatedCompletionTime() const
const GenerationStatus & GetGenerationStatus() const
GenerationSummary & WithGenerationCompletionTime(const char *value)
void SetGenerationStatus(GenerationStatus &&value)
GenerationSummary & WithEstimatedCompletionTime(const char *value)
AWS_COSTEXPLORER_API GenerationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetGenerationCompletionTime(Aws::String &&value)
GenerationSummary & WithRecommendationId(const char *value)
GenerationSummary & WithGenerationStartedTime(const char *value)
GenerationSummary & WithGenerationCompletionTime(const Aws::String &value)
void SetRecommendationId(const Aws::String &value)
void SetGenerationStartedTime(Aws::String &&value)
void SetEstimatedCompletionTime(const Aws::String &value)
GenerationSummary & WithEstimatedCompletionTime(Aws::String &&value)
GenerationSummary & WithGenerationStartedTime(const Aws::String &value)
void SetEstimatedCompletionTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue