AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResourceCollectionRequest.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/model/UpdateResourceCollectionAction.h>
10#include <aws/devops-guru/model/UpdateResourceCollectionFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DevOpsGuru
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEVOPSGURU_API UpdateResourceCollectionRequest();
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 "UpdateResourceCollection"; }
32
33 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
34
35
37
41 inline const UpdateResourceCollectionAction& GetAction() const{ return m_action; }
42 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
43 inline void SetAction(const UpdateResourceCollectionAction& value) { m_actionHasBeenSet = true; m_action = value; }
44 inline void SetAction(UpdateResourceCollectionAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
46 inline UpdateResourceCollectionRequest& WithAction(UpdateResourceCollectionAction&& value) { SetAction(std::move(value)); return *this;}
48
50
51 inline const UpdateResourceCollectionFilter& GetResourceCollection() const{ return m_resourceCollection; }
52 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
53 inline void SetResourceCollection(const UpdateResourceCollectionFilter& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
54 inline void SetResourceCollection(UpdateResourceCollectionFilter&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
58 private:
59
61 bool m_actionHasBeenSet = false;
62
63 UpdateResourceCollectionFilter m_resourceCollection;
64 bool m_resourceCollectionHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace DevOpsGuru
69} // namespace Aws
UpdateResourceCollectionRequest & WithAction(UpdateResourceCollectionAction &&value)
void SetResourceCollection(const UpdateResourceCollectionFilter &value)
void SetAction(const UpdateResourceCollectionAction &value)
UpdateResourceCollectionRequest & WithResourceCollection(UpdateResourceCollectionFilter &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
const UpdateResourceCollectionFilter & GetResourceCollection() const
UpdateResourceCollectionRequest & WithResourceCollection(const UpdateResourceCollectionFilter &value)
void SetResourceCollection(UpdateResourceCollectionFilter &&value)
UpdateResourceCollectionRequest & WithAction(const UpdateResourceCollectionAction &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String