AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetApplicationRevisionResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/GenericRevisionInfo.h>
9#include <aws/codedeploy/model/RevisionLocation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeDeploy {
24namespace Model {
32 public:
33 AWS_CODEDEPLOY_API GetApplicationRevisionResult() = default;
36
38
41 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
42 template <typename ApplicationNameT = Aws::String>
43 void SetApplicationName(ApplicationNameT&& value) {
44 m_applicationNameHasBeenSet = true;
45 m_applicationName = std::forward<ApplicationNameT>(value);
46 }
47 template <typename ApplicationNameT = Aws::String>
49 SetApplicationName(std::forward<ApplicationNameT>(value));
50 return *this;
51 }
53
55
58 inline const RevisionLocation& GetRevision() const { return m_revision; }
59 template <typename RevisionT = RevisionLocation>
60 void SetRevision(RevisionT&& value) {
61 m_revisionHasBeenSet = true;
62 m_revision = std::forward<RevisionT>(value);
63 }
64 template <typename RevisionT = RevisionLocation>
66 SetRevision(std::forward<RevisionT>(value));
67 return *this;
68 }
70
72
75 inline const GenericRevisionInfo& GetRevisionInfo() const { return m_revisionInfo; }
76 template <typename RevisionInfoT = GenericRevisionInfo>
77 void SetRevisionInfo(RevisionInfoT&& value) {
78 m_revisionInfoHasBeenSet = true;
79 m_revisionInfo = std::forward<RevisionInfoT>(value);
80 }
81 template <typename RevisionInfoT = GenericRevisionInfo>
83 SetRevisionInfo(std::forward<RevisionInfoT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_applicationName;
104
105 RevisionLocation m_revision;
106
107 GenericRevisionInfo m_revisionInfo;
108
109 Aws::String m_requestId;
110 bool m_applicationNameHasBeenSet = false;
111 bool m_revisionHasBeenSet = false;
112 bool m_revisionInfoHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace CodeDeploy
118} // namespace Aws
GetApplicationRevisionResult & WithRequestId(RequestIdT &&value)
AWS_CODEDEPLOY_API GetApplicationRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEDEPLOY_API GetApplicationRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationRevisionResult & WithRevision(RevisionT &&value)
AWS_CODEDEPLOY_API GetApplicationRevisionResult()=default
GetApplicationRevisionResult & WithApplicationName(ApplicationNameT &&value)
GetApplicationRevisionResult & WithRevisionInfo(RevisionInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue