AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
BatchGetApplicationsResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/ApplicationInfo.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeDeploy {
25namespace Model {
33 public:
34 AWS_CODEDEPLOY_API BatchGetApplicationsResult() = default;
37
39
42 inline const Aws::Vector<ApplicationInfo>& GetApplicationsInfo() const { return m_applicationsInfo; }
43 template <typename ApplicationsInfoT = Aws::Vector<ApplicationInfo>>
44 void SetApplicationsInfo(ApplicationsInfoT&& value) {
45 m_applicationsInfoHasBeenSet = true;
46 m_applicationsInfo = std::forward<ApplicationsInfoT>(value);
47 }
48 template <typename ApplicationsInfoT = Aws::Vector<ApplicationInfo>>
50 SetApplicationsInfo(std::forward<ApplicationsInfoT>(value));
51 return *this;
52 }
53 template <typename ApplicationsInfoT = ApplicationInfo>
54 BatchGetApplicationsResult& AddApplicationsInfo(ApplicationsInfoT&& value) {
55 m_applicationsInfoHasBeenSet = true;
56 m_applicationsInfo.emplace_back(std::forward<ApplicationsInfoT>(value));
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template <typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) {
66 m_requestIdHasBeenSet = true;
67 m_requestId = std::forward<RequestIdT>(value);
68 }
69 template <typename RequestIdT = Aws::String>
71 SetRequestId(std::forward<RequestIdT>(value));
72 return *this;
73 }
75 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
76
77 private:
78 Aws::Vector<ApplicationInfo> m_applicationsInfo;
79
80 Aws::String m_requestId;
81 Aws::Http::HttpResponseCode m_HttpResponseCode;
82 bool m_applicationsInfoHasBeenSet = false;
83 bool m_requestIdHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace CodeDeploy
88} // namespace Aws
BatchGetApplicationsResult & WithRequestId(RequestIdT &&value)
AWS_CODEDEPLOY_API BatchGetApplicationsResult()=default
BatchGetApplicationsResult & WithApplicationsInfo(ApplicationsInfoT &&value)
AWS_CODEDEPLOY_API BatchGetApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEDEPLOY_API BatchGetApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ApplicationInfo > & GetApplicationsInfo() const
BatchGetApplicationsResult & AddApplicationsInfo(ApplicationsInfoT &&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