AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConfigurationId.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MQ
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MQ_API ConfigurationId() = default;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 ConfigurationId& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
56 inline int GetRevision() const { return m_revision; }
57 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
58 inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
59 inline ConfigurationId& WithRevision(int value) { SetRevision(value); return *this;}
61 private:
62
63 Aws::String m_id;
64 bool m_idHasBeenSet = false;
65
66 int m_revision{0};
67 bool m_revisionHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace MQ
72} // namespace Aws
AWS_MQ_API ConfigurationId()=default
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MQ_API ConfigurationId(Aws::Utils::Json::JsonView jsonValue)
ConfigurationId & WithRevision(int value)
AWS_MQ_API ConfigurationId & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationId & WithId(IdT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue