AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolveComponentCandidatesRequest.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/greengrassv2/model/ComponentPlatform.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrassv2/model/ComponentCandidate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GreengrassV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GREENGRASSV2_API ResolveComponentCandidatesRequest();
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 "ResolveComponentCandidates"; }
33
34 AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const ComponentPlatform& GetPlatform() const{ return m_platform; }
42 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
43 inline void SetPlatform(const ComponentPlatform& value) { m_platformHasBeenSet = true; m_platform = value; }
44 inline void SetPlatform(ComponentPlatform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
45 inline ResolveComponentCandidatesRequest& WithPlatform(const ComponentPlatform& value) { SetPlatform(value); return *this;}
46 inline ResolveComponentCandidatesRequest& WithPlatform(ComponentPlatform&& value) { SetPlatform(std::move(value)); return *this;}
48
50
53 inline const Aws::Vector<ComponentCandidate>& GetComponentCandidates() const{ return m_componentCandidates; }
54 inline bool ComponentCandidatesHasBeenSet() const { return m_componentCandidatesHasBeenSet; }
55 inline void SetComponentCandidates(const Aws::Vector<ComponentCandidate>& value) { m_componentCandidatesHasBeenSet = true; m_componentCandidates = value; }
56 inline void SetComponentCandidates(Aws::Vector<ComponentCandidate>&& value) { m_componentCandidatesHasBeenSet = true; m_componentCandidates = std::move(value); }
59 inline ResolveComponentCandidatesRequest& AddComponentCandidates(const ComponentCandidate& value) { m_componentCandidatesHasBeenSet = true; m_componentCandidates.push_back(value); return *this; }
60 inline ResolveComponentCandidatesRequest& AddComponentCandidates(ComponentCandidate&& value) { m_componentCandidatesHasBeenSet = true; m_componentCandidates.push_back(std::move(value)); return *this; }
62 private:
63
64 ComponentPlatform m_platform;
65 bool m_platformHasBeenSet = false;
66
67 Aws::Vector<ComponentCandidate> m_componentCandidates;
68 bool m_componentCandidatesHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GreengrassV2
73} // namespace Aws
ResolveComponentCandidatesRequest & WithPlatform(ComponentPlatform &&value)
ResolveComponentCandidatesRequest & WithComponentCandidates(const Aws::Vector< ComponentCandidate > &value)
ResolveComponentCandidatesRequest & AddComponentCandidates(ComponentCandidate &&value)
ResolveComponentCandidatesRequest & AddComponentCandidates(const ComponentCandidate &value)
const Aws::Vector< ComponentCandidate > & GetComponentCandidates() const
ResolveComponentCandidatesRequest & WithComponentCandidates(Aws::Vector< ComponentCandidate > &&value)
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
void SetComponentCandidates(Aws::Vector< ComponentCandidate > &&value)
void SetComponentCandidates(const Aws::Vector< ComponentCandidate > &value)
ResolveComponentCandidatesRequest & WithPlatform(const ComponentPlatform &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector