AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionRevision.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 ActionRevision();
37 AWS_CODEPIPELINE_API ActionRevision(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API ActionRevision& 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 ActionRevision& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
53 inline ActionRevision& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
54 inline ActionRevision& 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 ActionRevision& WithRevisionChangeId(const Aws::String& value) { SetRevisionChangeId(value); return *this;}
68 inline ActionRevision& WithRevisionChangeId(Aws::String&& value) { SetRevisionChangeId(std::move(value)); return *this;}
69 inline ActionRevision& 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 ActionRevision& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
82 inline ActionRevision& 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
const Aws::String & GetRevisionChangeId() const
ActionRevision & WithRevisionChangeId(const Aws::String &value)
ActionRevision & WithRevisionId(const char *value)
void SetCreated(const Aws::Utils::DateTime &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreated() const
void SetRevisionChangeId(const Aws::String &value)
void SetRevisionId(const Aws::String &value)
ActionRevision & WithRevisionChangeId(Aws::String &&value)
void SetRevisionChangeId(Aws::String &&value)
AWS_CODEPIPELINE_API ActionRevision(Aws::Utils::Json::JsonView jsonValue)
ActionRevision & WithRevisionId(Aws::String &&value)
void SetCreated(Aws::Utils::DateTime &&value)
const Aws::String & GetRevisionId() const
void SetRevisionId(Aws::String &&value)
ActionRevision & WithCreated(Aws::Utils::DateTime &&value)
void SetRevisionChangeId(const char *value)
ActionRevision & WithRevisionChangeId(const char *value)
AWS_CODEPIPELINE_API ActionRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionRevision & WithCreated(const Aws::Utils::DateTime &value)
ActionRevision & WithRevisionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue