AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDiscoveredResourcesRequest.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/FMSRequest.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 FMS
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 "ListDiscoveredResources"; }
32
33 AWS_FMS_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::Vector<Aws::String>& GetMemberAccountIds() const{ return m_memberAccountIds; }
45 inline bool MemberAccountIdsHasBeenSet() const { return m_memberAccountIdsHasBeenSet; }
46 inline void SetMemberAccountIds(const Aws::Vector<Aws::String>& value) { m_memberAccountIdsHasBeenSet = true; m_memberAccountIds = value; }
47 inline void SetMemberAccountIds(Aws::Vector<Aws::String>&& value) { m_memberAccountIdsHasBeenSet = true; m_memberAccountIds = std::move(value); }
50 inline ListDiscoveredResourcesRequest& AddMemberAccountIds(const Aws::String& value) { m_memberAccountIdsHasBeenSet = true; m_memberAccountIds.push_back(value); return *this; }
51 inline ListDiscoveredResourcesRequest& AddMemberAccountIds(Aws::String&& value) { m_memberAccountIdsHasBeenSet = true; m_memberAccountIds.push_back(std::move(value)); return *this; }
52 inline ListDiscoveredResourcesRequest& AddMemberAccountIds(const char* value) { m_memberAccountIdsHasBeenSet = true; m_memberAccountIds.push_back(value); return *this; }
54
56
59 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
60 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
61 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
62 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
63 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
64 inline ListDiscoveredResourcesRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
65 inline ListDiscoveredResourcesRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
66 inline ListDiscoveredResourcesRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
68
70
76 inline int GetMaxResults() const{ return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
79 inline ListDiscoveredResourcesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
81
83
90 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
93 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
94 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
95 inline ListDiscoveredResourcesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 inline ListDiscoveredResourcesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
97 inline ListDiscoveredResourcesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
99 private:
100
101 Aws::Vector<Aws::String> m_memberAccountIds;
102 bool m_memberAccountIdsHasBeenSet = false;
103
104 Aws::String m_resourceType;
105 bool m_resourceTypeHasBeenSet = false;
106
107 int m_maxResults;
108 bool m_maxResultsHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace FMS
116} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListDiscoveredResourcesRequest & AddMemberAccountIds(const char *value)
ListDiscoveredResourcesRequest & WithResourceType(Aws::String &&value)
ListDiscoveredResourcesRequest & AddMemberAccountIds(const Aws::String &value)
ListDiscoveredResourcesRequest & WithNextToken(Aws::String &&value)
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDiscoveredResourcesRequest & AddMemberAccountIds(Aws::String &&value)
ListDiscoveredResourcesRequest & WithNextToken(const char *value)
ListDiscoveredResourcesRequest & WithResourceType(const char *value)
ListDiscoveredResourcesRequest & WithResourceType(const Aws::String &value)
ListDiscoveredResourcesRequest & WithMemberAccountIds(const Aws::Vector< Aws::String > &value)
ListDiscoveredResourcesRequest & WithNextToken(const Aws::String &value)
ListDiscoveredResourcesRequest & WithMaxResults(int value)
void SetMemberAccountIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetMemberAccountIds() const
AWS_FMS_API Aws::String SerializePayload() const override
void SetMemberAccountIds(Aws::Vector< Aws::String > &&value)
ListDiscoveredResourcesRequest & WithMemberAccountIds(Aws::Vector< Aws::String > &&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