AWS SDK for C++  1.9.108
AWS SDK for C++
ConfigurationId.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mq/MQ_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MQ
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline ConfigurationId& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline ConfigurationId& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline ConfigurationId& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline int GetRevision() const{ return m_revision; }
86 
90  inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
91 
95  inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
96 
100  inline ConfigurationId& WithRevision(int value) { SetRevision(value); return *this;}
101 
102  private:
103 
104  Aws::String m_id;
105  bool m_idHasBeenSet;
106 
107  int m_revision;
108  bool m_revisionHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace MQ
113 } // namespace Aws
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::ConfigurationId::WithRevision
ConfigurationId & WithRevision(int value)
Definition: ConfigurationId.h:100
Aws::MQ::Model::ConfigurationId::GetId
const Aws::String & GetId() const
Definition: ConfigurationId.h:44
Aws::MQ::Model::ConfigurationId::SetId
void SetId(const Aws::String &value)
Definition: ConfigurationId.h:54
Aws::MQ::Model::ConfigurationId::RevisionHasBeenSet
bool RevisionHasBeenSet() const
Definition: ConfigurationId.h:90
MQ_EXPORTS.h
Aws::MQ::Model::ConfigurationId::SetRevision
void SetRevision(int value)
Definition: ConfigurationId.h:95
Aws::MQ::Model::ConfigurationId::SetId
void SetId(const char *value)
Definition: ConfigurationId.h:64
Aws::MQ::Model::ConfigurationId::operator=
ConfigurationId & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MQ::Model::ConfigurationId::WithId
ConfigurationId & WithId(const char *value)
Definition: ConfigurationId.h:79
Aws::MQ::Model::ConfigurationId::WithId
ConfigurationId & WithId(const Aws::String &value)
Definition: ConfigurationId.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MQ::Model::ConfigurationId::SetId
void SetId(Aws::String &&value)
Definition: ConfigurationId.h:59
Aws::MQ::Model::ConfigurationId::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MQ::Model::ConfigurationId::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ConfigurationId.h:49
Aws::MQ::Model::ConfigurationId::ConfigurationId
ConfigurationId()
Aws::MQ::Model::ConfigurationId::WithId
ConfigurationId & WithId(Aws::String &&value)
Definition: ConfigurationId.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::MQ::Model::ConfigurationId::ConfigurationId
ConfigurationId(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MQ::Model::ConfigurationId
Definition: ConfigurationId.h:33
Aws::MQ::Model::ConfigurationId::GetRevision
int GetRevision() const
Definition: ConfigurationId.h:85