AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceCollectionRequest.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/ResourceCollectionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace DevOpsGuru
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_DEVOPSGURU_API GetResourceCollectionRequest();
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 "GetResourceCollection"; }
36
37 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
38
39 AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const ResourceCollectionType& GetResourceCollectionType() const{ return m_resourceCollectionType; }
49 inline bool ResourceCollectionTypeHasBeenSet() const { return m_resourceCollectionTypeHasBeenSet; }
50 inline void SetResourceCollectionType(const ResourceCollectionType& value) { m_resourceCollectionTypeHasBeenSet = true; m_resourceCollectionType = value; }
51 inline void SetResourceCollectionType(ResourceCollectionType&& value) { m_resourceCollectionTypeHasBeenSet = true; m_resourceCollectionType = std::move(value); }
55
57
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 inline GetResourceCollectionRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline GetResourceCollectionRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline GetResourceCollectionRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70 private:
71
72 ResourceCollectionType m_resourceCollectionType;
73 bool m_resourceCollectionTypeHasBeenSet = false;
74
75 Aws::String m_nextToken;
76 bool m_nextTokenHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DevOpsGuru
81} // namespace Aws
GetResourceCollectionRequest & WithResourceCollectionType(ResourceCollectionType &&value)
void SetResourceCollectionType(const ResourceCollectionType &value)
GetResourceCollectionRequest & WithNextToken(Aws::String &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
GetResourceCollectionRequest & WithNextToken(const Aws::String &value)
const ResourceCollectionType & GetResourceCollectionType() const
AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetResourceCollectionRequest & WithResourceCollectionType(const ResourceCollectionType &value)
GetResourceCollectionRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String