AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetApplicationRevisionsResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codedeploy/model/RevisionInfo.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:
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 BatchGetApplicationRevisionsResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
53 inline BatchGetApplicationRevisionsResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
55
57
60 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
61 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
62 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
63 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
65 inline BatchGetApplicationRevisionsResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
66 inline BatchGetApplicationRevisionsResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
68
70
74 inline const Aws::Vector<RevisionInfo>& GetRevisions() const{ return m_revisions; }
75 inline void SetRevisions(const Aws::Vector<RevisionInfo>& value) { m_revisions = value; }
76 inline void SetRevisions(Aws::Vector<RevisionInfo>&& value) { m_revisions = std::move(value); }
79 inline BatchGetApplicationRevisionsResult& AddRevisions(const RevisionInfo& value) { m_revisions.push_back(value); return *this; }
80 inline BatchGetApplicationRevisionsResult& AddRevisions(RevisionInfo&& value) { m_revisions.push_back(std::move(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline BatchGetApplicationRevisionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline BatchGetApplicationRevisionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline BatchGetApplicationRevisionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_applicationName;
96
97 Aws::String m_errorMessage;
98
99 Aws::Vector<RevisionInfo> m_revisions;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace CodeDeploy
106} // namespace Aws
AWS_CODEDEPLOY_API BatchGetApplicationRevisionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetApplicationRevisionsResult & WithErrorMessage(const char *value)
BatchGetApplicationRevisionsResult & WithErrorMessage(const Aws::String &value)
BatchGetApplicationRevisionsResult & WithApplicationName(const char *value)
BatchGetApplicationRevisionsResult & AddRevisions(RevisionInfo &&value)
BatchGetApplicationRevisionsResult & WithRevisions(const Aws::Vector< RevisionInfo > &value)
BatchGetApplicationRevisionsResult & WithErrorMessage(Aws::String &&value)
BatchGetApplicationRevisionsResult & WithRequestId(const char *value)
BatchGetApplicationRevisionsResult & WithApplicationName(const Aws::String &value)
BatchGetApplicationRevisionsResult & AddRevisions(const RevisionInfo &value)
BatchGetApplicationRevisionsResult & WithRequestId(Aws::String &&value)
BatchGetApplicationRevisionsResult & WithRequestId(const Aws::String &value)
AWS_CODEDEPLOY_API BatchGetApplicationRevisionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetApplicationRevisionsResult & WithApplicationName(Aws::String &&value)
BatchGetApplicationRevisionsResult & WithRevisions(Aws::Vector< RevisionInfo > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue