AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BatchGetApplicationsRequest.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeployRequest.h>
8#include <aws/codedeploy/CodeDeploy_EXPORTS.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 {
15namespace CodeDeploy {
16namespace Model {
17
25 public:
26 AWS_CODEDEPLOY_API BatchGetApplicationsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchGetApplications"; }
33
34 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
35
37
39
43 inline const Aws::Vector<Aws::String>& GetApplicationNames() const { return m_applicationNames; }
44 inline bool ApplicationNamesHasBeenSet() const { return m_applicationNamesHasBeenSet; }
45 template <typename ApplicationNamesT = Aws::Vector<Aws::String>>
46 void SetApplicationNames(ApplicationNamesT&& value) {
47 m_applicationNamesHasBeenSet = true;
48 m_applicationNames = std::forward<ApplicationNamesT>(value);
49 }
50 template <typename ApplicationNamesT = Aws::Vector<Aws::String>>
52 SetApplicationNames(std::forward<ApplicationNamesT>(value));
53 return *this;
54 }
55 template <typename ApplicationNamesT = Aws::String>
57 m_applicationNamesHasBeenSet = true;
58 m_applicationNames.emplace_back(std::forward<ApplicationNamesT>(value));
59 return *this;
60 }
62 private:
63 Aws::Vector<Aws::String> m_applicationNames;
64 bool m_applicationNamesHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace CodeDeploy
69} // namespace Aws
const Aws::Vector< Aws::String > & GetApplicationNames() const
BatchGetApplicationsRequest & WithApplicationNames(ApplicationNamesT &&value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
AWS_CODEDEPLOY_API BatchGetApplicationsRequest()=default
BatchGetApplicationsRequest & AddApplicationNames(ApplicationNamesT &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector