AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateDiscovererRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Schemas {
15namespace Model {
16
20 public:
21 AWS_SCHEMAS_API UpdateDiscovererRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateDiscoverer"; }
28
29 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetDescription() const { return m_description; }
36 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
37 template <typename DescriptionT = Aws::String>
38 void SetDescription(DescriptionT&& value) {
39 m_descriptionHasBeenSet = true;
40 m_description = std::forward<DescriptionT>(value);
41 }
42 template <typename DescriptionT = Aws::String>
44 SetDescription(std::forward<DescriptionT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDiscovererId() const { return m_discovererId; }
54 inline bool DiscovererIdHasBeenSet() const { return m_discovererIdHasBeenSet; }
55 template <typename DiscovererIdT = Aws::String>
56 void SetDiscovererId(DiscovererIdT&& value) {
57 m_discovererIdHasBeenSet = true;
58 m_discovererId = std::forward<DiscovererIdT>(value);
59 }
60 template <typename DiscovererIdT = Aws::String>
61 UpdateDiscovererRequest& WithDiscovererId(DiscovererIdT&& value) {
62 SetDiscovererId(std::forward<DiscovererIdT>(value));
63 return *this;
64 }
66
68
72 inline bool GetCrossAccount() const { return m_crossAccount; }
73 inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; }
74 inline void SetCrossAccount(bool value) {
75 m_crossAccountHasBeenSet = true;
76 m_crossAccount = value;
77 }
79 SetCrossAccount(value);
80 return *this;
81 }
83 private:
84 Aws::String m_description;
85
86 Aws::String m_discovererId;
87
88 bool m_crossAccount{false};
89 bool m_descriptionHasBeenSet = false;
90 bool m_discovererIdHasBeenSet = false;
91 bool m_crossAccountHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Schemas
96} // namespace Aws
UpdateDiscovererRequest & WithDescription(DescriptionT &&value)
AWS_SCHEMAS_API UpdateDiscovererRequest()=default
UpdateDiscovererRequest & WithCrossAccount(bool value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateDiscovererRequest & WithDiscovererId(DiscovererIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String