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/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/GenerationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LEXMODELSV2_API GenerationSummary();
38 AWS_LEXMODELSV2_API GenerationSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetGenerationId() const{ return m_generationId; }
48 inline bool GenerationIdHasBeenSet() const { return m_generationIdHasBeenSet; }
49 inline void SetGenerationId(const Aws::String& value) { m_generationIdHasBeenSet = true; m_generationId = value; }
50 inline void SetGenerationId(Aws::String&& value) { m_generationIdHasBeenSet = true; m_generationId = std::move(value); }
51 inline void SetGenerationId(const char* value) { m_generationIdHasBeenSet = true; m_generationId.assign(value); }
52 inline GenerationSummary& WithGenerationId(const Aws::String& value) { SetGenerationId(value); return *this;}
53 inline GenerationSummary& WithGenerationId(Aws::String&& value) { SetGenerationId(std::move(value)); return *this;}
54 inline GenerationSummary& WithGenerationId(const char* value) { SetGenerationId(value); return *this;}
56
58
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::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
74 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
75 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
76 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
78 inline GenerationSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
86 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
87 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
88 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
90 inline GenerationSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_generationId;
95 bool m_generationIdHasBeenSet = false;
96
97 GenerationStatus m_generationStatus;
98 bool m_generationStatusHasBeenSet = false;
99
100 Aws::Utils::DateTime m_creationDateTime;
101 bool m_creationDateTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_lastUpdatedDateTime;
104 bool m_lastUpdatedDateTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LexModelsV2
109} // namespace Aws
void SetGenerationId(const Aws::String &value)
void SetGenerationStatus(const GenerationStatus &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
GenerationSummary & WithGenerationId(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API GenerationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
GenerationSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
GenerationSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetGenerationStatus(GenerationStatus &&value)
GenerationSummary & WithGenerationStatus(const GenerationStatus &value)
GenerationSummary & WithGenerationId(const Aws::String &value)
const Aws::String & GetGenerationId() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
GenerationSummary & WithGenerationStatus(GenerationStatus &&value)
GenerationSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API GenerationSummary(Aws::Utils::Json::JsonView jsonValue)
GenerationSummary & WithGenerationId(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const GenerationStatus & GetGenerationStatus() const
GenerationSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue