AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevisionInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/RevisionLocation.h>
9#include <aws/codedeploy/model/GenericRevisionInfo.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 CodeDeploy
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CODEDEPLOY_API RevisionInfo();
36 AWS_CODEDEPLOY_API RevisionInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEDEPLOY_API RevisionInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const RevisionLocation& GetRevisionLocation() const{ return m_revisionLocation; }
46 inline bool RevisionLocationHasBeenSet() const { return m_revisionLocationHasBeenSet; }
47 inline void SetRevisionLocation(const RevisionLocation& value) { m_revisionLocationHasBeenSet = true; m_revisionLocation = value; }
48 inline void SetRevisionLocation(RevisionLocation&& value) { m_revisionLocationHasBeenSet = true; m_revisionLocation = std::move(value); }
49 inline RevisionInfo& WithRevisionLocation(const RevisionLocation& value) { SetRevisionLocation(value); return *this;}
50 inline RevisionInfo& WithRevisionLocation(RevisionLocation&& value) { SetRevisionLocation(std::move(value)); return *this;}
52
54
58 inline const GenericRevisionInfo& GetGenericRevisionInfo() const{ return m_genericRevisionInfo; }
59 inline bool GenericRevisionInfoHasBeenSet() const { return m_genericRevisionInfoHasBeenSet; }
60 inline void SetGenericRevisionInfo(const GenericRevisionInfo& value) { m_genericRevisionInfoHasBeenSet = true; m_genericRevisionInfo = value; }
61 inline void SetGenericRevisionInfo(GenericRevisionInfo&& value) { m_genericRevisionInfoHasBeenSet = true; m_genericRevisionInfo = std::move(value); }
63 inline RevisionInfo& WithGenericRevisionInfo(GenericRevisionInfo&& value) { SetGenericRevisionInfo(std::move(value)); return *this;}
65 private:
66
67 RevisionLocation m_revisionLocation;
68 bool m_revisionLocationHasBeenSet = false;
69
70 GenericRevisionInfo m_genericRevisionInfo;
71 bool m_genericRevisionInfoHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CodeDeploy
76} // namespace Aws
RevisionInfo & WithRevisionLocation(RevisionLocation &&value)
RevisionInfo & WithRevisionLocation(const RevisionLocation &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
RevisionInfo & WithGenericRevisionInfo(GenericRevisionInfo &&value)
void SetRevisionLocation(const RevisionLocation &value)
RevisionInfo & WithGenericRevisionInfo(const GenericRevisionInfo &value)
void SetGenericRevisionInfo(const GenericRevisionInfo &value)
AWS_CODEDEPLOY_API RevisionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRevisionLocation(RevisionLocation &&value)
const GenericRevisionInfo & GetGenericRevisionInfo() const
AWS_CODEDEPLOY_API RevisionInfo(Aws::Utils::Json::JsonView jsonValue)
void SetGenericRevisionInfo(GenericRevisionInfo &&value)
const RevisionLocation & GetRevisionLocation() const
Aws::Utils::Json::JsonValue JsonValue