AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ConfigurationRevision.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mq/MQ_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MQ {
21namespace Model {
22
30 public:
31 AWS_MQ_API ConfigurationRevision() = default;
35
37
40 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
41 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
42 template <typename CreatedT = Aws::Utils::DateTime>
43 void SetCreated(CreatedT&& value) {
44 m_createdHasBeenSet = true;
45 m_created = std::forward<CreatedT>(value);
46 }
47 template <typename CreatedT = Aws::Utils::DateTime>
49 SetCreated(std::forward<CreatedT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
66 ConfigurationRevision& WithDescription(DescriptionT&& value) {
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline int GetRevision() const { return m_revision; }
77 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
78 inline void SetRevision(int value) {
79 m_revisionHasBeenSet = true;
80 m_revision = value;
81 }
83 SetRevision(value);
84 return *this;
85 }
87 private:
88 Aws::Utils::DateTime m_created{};
89
90 Aws::String m_description;
91
92 int m_revision{0};
93 bool m_createdHasBeenSet = false;
94 bool m_descriptionHasBeenSet = false;
95 bool m_revisionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace MQ
100} // namespace Aws
ConfigurationRevision & WithDescription(DescriptionT &&value)
AWS_MQ_API ConfigurationRevision(Aws::Utils::Json::JsonView jsonValue)
AWS_MQ_API ConfigurationRevision()=default
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreated() const
ConfigurationRevision & WithRevision(int value)
AWS_MQ_API ConfigurationRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationRevision & WithCreated(CreatedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue