AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 BatchGetApplicationsResult() = default;
36
38
41 inline const Aws::Vector<ApplicationInfo>& GetApplicationsInfo() const { return m_applicationsInfo; }
42 template <typename ApplicationsInfoT = Aws::Vector<ApplicationInfo>>
43 void SetApplicationsInfo(ApplicationsInfoT&& value) {
44 m_applicationsInfoHasBeenSet = true;
45 m_applicationsInfo = std::forward<ApplicationsInfoT>(value);
46 }
47 template <typename ApplicationsInfoT = Aws::Vector<ApplicationInfo>>
49 SetApplicationsInfo(std::forward<ApplicationsInfoT>(value));
50 return *this;
51 }
52 template <typename ApplicationsInfoT = ApplicationInfo>
53 BatchGetApplicationsResult& AddApplicationsInfo(ApplicationsInfoT&& value) {
54 m_applicationsInfoHasBeenSet = true;
55 m_applicationsInfo.emplace_back(std::forward<ApplicationsInfoT>(value));
56 return *this;
57 }
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template <typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) {
65 m_requestIdHasBeenSet = true;
66 m_requestId = std::forward<RequestIdT>(value);
67 }
68 template <typename RequestIdT = Aws::String>
70 SetRequestId(std::forward<RequestIdT>(value));
71 return *this;
72 }
74 private:
75 Aws::Vector<ApplicationInfo> m_applicationsInfo;
76
77 Aws::String m_requestId;
78 bool m_applicationsInfoHasBeenSet = false;
79 bool m_requestIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CodeDeploy
84} // 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