AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetApplicationsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
27 {
28 public:
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
38
40
41
46 inline const Aws::Vector<Aws::String>& GetApplicationNames() const{ return m_applicationNames; }
47
52 inline bool ApplicationNamesHasBeenSet() const { return m_applicationNamesHasBeenSet; }
53
58 inline void SetApplicationNames(const Aws::Vector<Aws::String>& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = value; }
59
64 inline void SetApplicationNames(Aws::Vector<Aws::String>&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames = std::move(value); }
65
71
77
82 inline BatchGetApplicationsRequest& AddApplicationNames(const Aws::String& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; }
83
88 inline BatchGetApplicationsRequest& AddApplicationNames(Aws::String&& value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(std::move(value)); return *this; }
89
94 inline BatchGetApplicationsRequest& AddApplicationNames(const char* value) { m_applicationNamesHasBeenSet = true; m_applicationNames.push_back(value); return *this; }
95
96 private:
97
98 Aws::Vector<Aws::String> m_applicationNames;
99 bool m_applicationNamesHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CodeDeploy
104} // namespace Aws
#define AWS_CODEDEPLOY_API
const Aws::Vector< Aws::String > & GetApplicationNames() const
void SetApplicationNames(const Aws::Vector< Aws::String > &value)
void SetApplicationNames(Aws::Vector< Aws::String > &&value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
BatchGetApplicationsRequest & AddApplicationNames(const char *value)
BatchGetApplicationsRequest & WithApplicationNames(const Aws::Vector< Aws::String > &value)
BatchGetApplicationsRequest & WithApplicationNames(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
BatchGetApplicationsRequest & AddApplicationNames(Aws::String &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetApplicationsRequest & AddApplicationNames(const Aws::String &value)
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