AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationRevision.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MQ
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
47 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
48 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
49 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
50 inline ConfigurationRevision& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
51 inline ConfigurationRevision& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline ConfigurationRevision& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline ConfigurationRevision& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline ConfigurationRevision& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline int GetRevision() const{ return m_revision; }
73 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
74 inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
75 inline ConfigurationRevision& WithRevision(int value) { SetRevision(value); return *this;}
77 private:
78
79 Aws::Utils::DateTime m_created;
80 bool m_createdHasBeenSet = false;
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 int m_revision;
86 bool m_revisionHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MQ
91} // namespace Aws
AWS_MQ_API ConfigurationRevision(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRevision & WithDescription(Aws::String &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
void SetCreated(const Aws::Utils::DateTime &value)
ConfigurationRevision & WithCreated(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreated() const
ConfigurationRevision & WithRevision(int value)
void SetCreated(Aws::Utils::DateTime &&value)
AWS_MQ_API ConfigurationRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
ConfigurationRevision & WithCreated(const Aws::Utils::DateTime &value)
ConfigurationRevision & WithDescription(const Aws::String &value)
ConfigurationRevision & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue