AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetApplicationsRequest.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/CodeDeployRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODEDEPLOY_API BatchGetApplicationsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "BatchGetApplications"; }
36
37 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::Vector<Aws::String>& GetApplicationNames() const { return m_applicationNames; }
48 inline bool ApplicationNamesHasBeenSet() const { return m_applicationNamesHasBeenSet; }
49 template<typename ApplicationNamesT = Aws::Vector<Aws::String>>
50 void SetApplicationNames(ApplicationNamesT&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = std::forward<ApplicationNamesT>(value); }
51 template<typename ApplicationNamesT = Aws::Vector<Aws::String>>
52 BatchGetApplicationsRequest& WithApplicationNames(ApplicationNamesT&& value) { SetApplicationNames(std::forward<ApplicationNamesT>(value)); return *this;}
53 template<typename ApplicationNamesT = Aws::String>
54 BatchGetApplicationsRequest& AddApplicationNames(ApplicationNamesT&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.emplace_back(std::forward<ApplicationNamesT>(value)); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_applicationNames;
59 bool m_applicationNamesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace CodeDeploy
64} // 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