AWS SDK for C++  1.9.109
AWS SDK for C++
ConfigurationRevision.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mq/MQ_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MQ
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
46 
50  inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
51 
55  inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
56 
60  inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
61 
65  inline ConfigurationRevision& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
66 
70  inline ConfigurationRevision& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetDescription() const{ return m_description; }
77 
81  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 
86  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
87 
91  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 
96  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
97 
101  inline ConfigurationRevision& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
102 
106  inline ConfigurationRevision& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 
111  inline ConfigurationRevision& WithDescription(const char* value) { SetDescription(value); return *this;}
112 
113 
117  inline int GetRevision() const{ return m_revision; }
118 
122  inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
123 
127  inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
128 
132  inline ConfigurationRevision& WithRevision(int value) { SetRevision(value); return *this;}
133 
134  private:
135 
136  Aws::Utils::DateTime m_created;
137  bool m_createdHasBeenSet;
138 
139  Aws::String m_description;
140  bool m_descriptionHasBeenSet;
141 
142  int m_revision;
143  bool m_revisionHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace MQ
148 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::ConfigurationRevision::WithCreated
ConfigurationRevision & WithCreated(Aws::Utils::DateTime &&value)
Definition: ConfigurationRevision.h:70
Aws::MQ::Model::ConfigurationRevision::operator=
ConfigurationRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
MQ_EXPORTS.h
Aws::MQ::Model::ConfigurationRevision::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MQ::Model::ConfigurationRevision::WithCreated
ConfigurationRevision & WithCreated(const Aws::Utils::DateTime &value)
Definition: ConfigurationRevision.h:65
DateTime.h
Aws::MQ::Model::ConfigurationRevision::WithRevision
ConfigurationRevision & WithRevision(int value)
Definition: ConfigurationRevision.h:132
Aws::MQ::Model::ConfigurationRevision::SetCreated
void SetCreated(Aws::Utils::DateTime &&value)
Definition: ConfigurationRevision.h:60
Aws::MQ::Model::ConfigurationRevision::GetDescription
const Aws::String & GetDescription() const
Definition: ConfigurationRevision.h:76
Aws::MQ::Model::ConfigurationRevision::ConfigurationRevision
ConfigurationRevision()
Aws::MQ::Model::ConfigurationRevision::SetDescription
void SetDescription(const char *value)
Definition: ConfigurationRevision.h:96
Aws::MQ::Model::ConfigurationRevision::SetCreated
void SetCreated(const Aws::Utils::DateTime &value)
Definition: ConfigurationRevision.h:55
Aws::MQ::Model::ConfigurationRevision::CreatedHasBeenSet
bool CreatedHasBeenSet() const
Definition: ConfigurationRevision.h:50
Aws::MQ::Model::ConfigurationRevision::WithDescription
ConfigurationRevision & WithDescription(const Aws::String &value)
Definition: ConfigurationRevision.h:101
Aws::MQ::Model::ConfigurationRevision::WithDescription
ConfigurationRevision & WithDescription(const char *value)
Definition: ConfigurationRevision.h:111
Aws::MQ::Model::ConfigurationRevision::GetRevision
int GetRevision() const
Definition: ConfigurationRevision.h:117
Aws::MQ::Model::ConfigurationRevision::SetRevision
void SetRevision(int value)
Definition: ConfigurationRevision.h:127
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MQ::Model::ConfigurationRevision::GetCreated
const Aws::Utils::DateTime & GetCreated() const
Definition: ConfigurationRevision.h:45
Aws::MQ::Model::ConfigurationRevision::ConfigurationRevision
ConfigurationRevision(Aws::Utils::Json::JsonView jsonValue)
Aws::MQ::Model::ConfigurationRevision::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ConfigurationRevision.h:81
Aws::MQ::Model::ConfigurationRevision
Definition: ConfigurationRevision.h:34
Aws::MQ::Model::ConfigurationRevision::SetDescription
void SetDescription(Aws::String &&value)
Definition: ConfigurationRevision.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MQ::Model::ConfigurationRevision::RevisionHasBeenSet
bool RevisionHasBeenSet() const
Definition: ConfigurationRevision.h:122
Aws::MQ::Model::ConfigurationRevision::WithDescription
ConfigurationRevision & WithDescription(Aws::String &&value)
Definition: ConfigurationRevision.h:106
Aws::MQ::Model::ConfigurationRevision::SetDescription
void SetDescription(const Aws::String &value)
Definition: ConfigurationRevision.h:86