AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleRevision.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 CodePipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEPIPELINE_API RuleRevision();
37 AWS_CODEPIPELINE_API RuleRevision(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API RuleRevision& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
48 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
49 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
50 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
51 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
52 inline RuleRevision& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
53 inline RuleRevision& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
54 inline RuleRevision& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
56
58
62 inline const Aws::String& GetRevisionChangeId() const{ return m_revisionChangeId; }
63 inline bool RevisionChangeIdHasBeenSet() const { return m_revisionChangeIdHasBeenSet; }
64 inline void SetRevisionChangeId(const Aws::String& value) { m_revisionChangeIdHasBeenSet = true; m_revisionChangeId = value; }
65 inline void SetRevisionChangeId(Aws::String&& value) { m_revisionChangeIdHasBeenSet = true; m_revisionChangeId = std::move(value); }
66 inline void SetRevisionChangeId(const char* value) { m_revisionChangeIdHasBeenSet = true; m_revisionChangeId.assign(value); }
67 inline RuleRevision& WithRevisionChangeId(const Aws::String& value) { SetRevisionChangeId(value); return *this;}
68 inline RuleRevision& WithRevisionChangeId(Aws::String&& value) { SetRevisionChangeId(std::move(value)); return *this;}
69 inline RuleRevision& WithRevisionChangeId(const char* value) { SetRevisionChangeId(value); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
78 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
79 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
80 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
81 inline RuleRevision& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
82 inline RuleRevision& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_revisionId;
87 bool m_revisionIdHasBeenSet = false;
88
89 Aws::String m_revisionChangeId;
90 bool m_revisionChangeIdHasBeenSet = false;
91
92 Aws::Utils::DateTime m_created;
93 bool m_createdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodePipeline
98} // namespace Aws
void SetRevisionId(const char *value)
void SetRevisionId(Aws::String &&value)
RuleRevision & WithRevisionChangeId(const char *value)
RuleRevision & WithRevisionId(Aws::String &&value)
RuleRevision & WithRevisionId(const Aws::String &value)
RuleRevision & WithRevisionId(const char *value)
void SetRevisionChangeId(const char *value)
RuleRevision & WithCreated(const Aws::Utils::DateTime &value)
void SetCreated(const Aws::Utils::DateTime &value)
const Aws::String & GetRevisionId() const
RuleRevision & WithCreated(Aws::Utils::DateTime &&value)
AWS_CODEPIPELINE_API RuleRevision()
const Aws::Utils::DateTime & GetCreated() const
AWS_CODEPIPELINE_API RuleRevision(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleRevision & WithRevisionChangeId(Aws::String &&value)
const Aws::String & GetRevisionChangeId() const
void SetRevisionChangeId(Aws::String &&value)
void SetCreated(Aws::Utils::DateTime &&value)
void SetRevisionId(const Aws::String &value)
RuleRevision & WithRevisionChangeId(const Aws::String &value)
void SetRevisionChangeId(const Aws::String &value)
AWS_CODEPIPELINE_API RuleRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue