AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UsageProfileDefinition.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API UsageProfileDefinition() = default;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 UsageProfileDefinition& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 UsageProfileDefinition& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
70 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
71 template<typename CreatedOnT = Aws::Utils::DateTime>
72 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::forward<CreatedOnT>(value); }
73 template<typename CreatedOnT = Aws::Utils::DateTime>
74 UsageProfileDefinition& WithCreatedOn(CreatedOnT&& value) { SetCreatedOn(std::forward<CreatedOnT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
82 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
83 template<typename LastModifiedOnT = Aws::Utils::DateTime>
84 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
85 template<typename LastModifiedOnT = Aws::Utils::DateTime>
86 UsageProfileDefinition& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 Aws::Utils::DateTime m_createdOn{};
97 bool m_createdOnHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastModifiedOn{};
100 bool m_lastModifiedOnHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // namespace Aws
void SetLastModifiedOn(LastModifiedOnT &&value)
UsageProfileDefinition & WithName(NameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
UsageProfileDefinition & WithCreatedOn(CreatedOnT &&value)
AWS_GLUE_API UsageProfileDefinition(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API UsageProfileDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
UsageProfileDefinition & WithDescription(DescriptionT &&value)
AWS_GLUE_API UsageProfileDefinition()=default
const Aws::Utils::DateTime & GetCreatedOn() const
const Aws::Utils::DateTime & GetLastModifiedOn() const
UsageProfileDefinition & WithLastModifiedOn(LastModifiedOnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue