AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeServiceRevisionsRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.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 ECS
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeServiceRevisions"; }
32
33 AWS_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
45 inline const Aws::Vector<Aws::String>& GetServiceRevisionArns() const{ return m_serviceRevisionArns; }
46 inline bool ServiceRevisionArnsHasBeenSet() const { return m_serviceRevisionArnsHasBeenSet; }
47 inline void SetServiceRevisionArns(const Aws::Vector<Aws::String>& value) { m_serviceRevisionArnsHasBeenSet = true; m_serviceRevisionArns = value; }
48 inline void SetServiceRevisionArns(Aws::Vector<Aws::String>&& value) { m_serviceRevisionArnsHasBeenSet = true; m_serviceRevisionArns = std::move(value); }
51 inline DescribeServiceRevisionsRequest& AddServiceRevisionArns(const Aws::String& value) { m_serviceRevisionArnsHasBeenSet = true; m_serviceRevisionArns.push_back(value); return *this; }
52 inline DescribeServiceRevisionsRequest& AddServiceRevisionArns(Aws::String&& value) { m_serviceRevisionArnsHasBeenSet = true; m_serviceRevisionArns.push_back(std::move(value)); return *this; }
53 inline DescribeServiceRevisionsRequest& AddServiceRevisionArns(const char* value) { m_serviceRevisionArnsHasBeenSet = true; m_serviceRevisionArns.push_back(value); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_serviceRevisionArns;
58 bool m_serviceRevisionArnsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ECS
63} // namespace Aws
void SetServiceRevisionArns(Aws::Vector< Aws::String > &&value)
DescribeServiceRevisionsRequest & AddServiceRevisionArns(Aws::String &&value)
DescribeServiceRevisionsRequest & WithServiceRevisionArns(const Aws::Vector< Aws::String > &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeServiceRevisionsRequest & AddServiceRevisionArns(const char *value)
DescribeServiceRevisionsRequest & WithServiceRevisionArns(Aws::Vector< Aws::String > &&value)
void SetServiceRevisionArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetServiceRevisionArns() const
DescribeServiceRevisionsRequest & AddServiceRevisionArns(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() 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