AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetApplicationRevisionsRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codedeploy/model/RevisionLocation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CodeDeploy
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "BatchGetApplicationRevisions"; }
37
38 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
39
41
42
44
48 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
49 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
50 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
51 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
52 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
55 inline BatchGetApplicationRevisionsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
57
59
64 inline const Aws::Vector<RevisionLocation>& GetRevisions() const{ return m_revisions; }
65 inline bool RevisionsHasBeenSet() const { return m_revisionsHasBeenSet; }
66 inline void SetRevisions(const Aws::Vector<RevisionLocation>& value) { m_revisionsHasBeenSet = true; m_revisions = value; }
67 inline void SetRevisions(Aws::Vector<RevisionLocation>&& value) { m_revisionsHasBeenSet = true; m_revisions = std::move(value); }
70 inline BatchGetApplicationRevisionsRequest& AddRevisions(const RevisionLocation& value) { m_revisionsHasBeenSet = true; m_revisions.push_back(value); return *this; }
71 inline BatchGetApplicationRevisionsRequest& AddRevisions(RevisionLocation&& value) { m_revisionsHasBeenSet = true; m_revisions.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::String m_applicationName;
76 bool m_applicationNameHasBeenSet = false;
77
79 bool m_revisionsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CodeDeploy
84} // namespace Aws
BatchGetApplicationRevisionsRequest & WithRevisions(Aws::Vector< RevisionLocation > &&value)
BatchGetApplicationRevisionsRequest & WithRevisions(const Aws::Vector< RevisionLocation > &value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
BatchGetApplicationRevisionsRequest & WithApplicationName(Aws::String &&value)
BatchGetApplicationRevisionsRequest & AddRevisions(const RevisionLocation &value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetApplicationRevisionsRequest & AddRevisions(RevisionLocation &&value)
BatchGetApplicationRevisionsRequest & WithApplicationName(const Aws::String &value)
BatchGetApplicationRevisionsRequest & WithApplicationName(const char *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