AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline UsageProfileDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline UsageProfileDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline UsageProfileDefinition& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline UsageProfileDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline UsageProfileDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline UsageProfileDefinition& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
74 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
75 inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; }
76 inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); }
77 inline UsageProfileDefinition& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
78 inline UsageProfileDefinition& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
86 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
87 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; }
88 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); }
90 inline UsageProfileDefinition& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::Utils::DateTime m_createdOn;
101 bool m_createdOnHasBeenSet = false;
102
103 Aws::Utils::DateTime m_lastModifiedOn;
104 bool m_lastModifiedOnHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
UsageProfileDefinition & WithLastModifiedOn(Aws::Utils::DateTime &&value)
UsageProfileDefinition & WithDescription(Aws::String &&value)
UsageProfileDefinition & WithName(const char *value)
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
UsageProfileDefinition & WithDescription(const char *value)
UsageProfileDefinition & WithCreatedOn(const Aws::Utils::DateTime &value)
UsageProfileDefinition & WithDescription(const Aws::String &value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
UsageProfileDefinition & WithName(Aws::String &&value)
AWS_GLUE_API UsageProfileDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
UsageProfileDefinition & WithName(const Aws::String &value)
UsageProfileDefinition & WithCreatedOn(Aws::Utils::DateTime &&value)
AWS_GLUE_API UsageProfileDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
UsageProfileDefinition & WithLastModifiedOn(const Aws::Utils::DateTime &value)
void SetCreatedOn(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedOn() const
const Aws::Utils::DateTime & GetLastModifiedOn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue