AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApplicationRevisionResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codedeploy/model/RevisionLocation.h>
10#include <aws/codedeploy/model/GenericRevisionInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeDeploy
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CODEDEPLOY_API GetApplicationRevisionResult();
41
42
44
47 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
48 inline void SetApplicationName(const Aws::String& value) { m_applicationName = value; }
49 inline void SetApplicationName(Aws::String&& value) { m_applicationName = std::move(value); }
50 inline void SetApplicationName(const char* value) { m_applicationName.assign(value); }
52 inline GetApplicationRevisionResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
53 inline GetApplicationRevisionResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
55
57
60 inline const RevisionLocation& GetRevision() const{ return m_revision; }
61 inline void SetRevision(const RevisionLocation& value) { m_revision = value; }
62 inline void SetRevision(RevisionLocation&& value) { m_revision = std::move(value); }
63 inline GetApplicationRevisionResult& WithRevision(const RevisionLocation& value) { SetRevision(value); return *this;}
64 inline GetApplicationRevisionResult& WithRevision(RevisionLocation&& value) { SetRevision(std::move(value)); return *this;}
66
68
71 inline const GenericRevisionInfo& GetRevisionInfo() const{ return m_revisionInfo; }
72 inline void SetRevisionInfo(const GenericRevisionInfo& value) { m_revisionInfo = value; }
73 inline void SetRevisionInfo(GenericRevisionInfo&& value) { m_revisionInfo = std::move(value); }
75 inline GetApplicationRevisionResult& WithRevisionInfo(GenericRevisionInfo&& value) { SetRevisionInfo(std::move(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetApplicationRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetApplicationRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetApplicationRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_applicationName;
91
92 RevisionLocation m_revision;
93
94 GenericRevisionInfo m_revisionInfo;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace CodeDeploy
101} // namespace Aws
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 & WithRequestId(Aws::String &&value)
GetApplicationRevisionResult & WithRequestId(const char *value)
GetApplicationRevisionResult & WithRevisionInfo(const GenericRevisionInfo &value)
GetApplicationRevisionResult & WithRevision(RevisionLocation &&value)
GetApplicationRevisionResult & WithApplicationName(const char *value)
GetApplicationRevisionResult & WithApplicationName(Aws::String &&value)
GetApplicationRevisionResult & WithRevisionInfo(GenericRevisionInfo &&value)
GetApplicationRevisionResult & WithRevision(const RevisionLocation &value)
GetApplicationRevisionResult & WithRequestId(const Aws::String &value)
GetApplicationRevisionResult & WithApplicationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue