AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDiscovererRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Schemas
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SCHEMAS_API UpdateDiscovererRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateDiscoverer"; }
31
32 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDescription() const { return m_description; }
40 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
41 template<typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
43 template<typename DescriptionT = Aws::String>
44 UpdateDiscovererRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDiscovererId() const { return m_discovererId; }
52 inline bool DiscovererIdHasBeenSet() const { return m_discovererIdHasBeenSet; }
53 template<typename DiscovererIdT = Aws::String>
54 void SetDiscovererId(DiscovererIdT&& value) { m_discovererIdHasBeenSet = true; m_discovererId = std::forward<DiscovererIdT>(value); }
55 template<typename DiscovererIdT = Aws::String>
56 UpdateDiscovererRequest& WithDiscovererId(DiscovererIdT&& value) { SetDiscovererId(std::forward<DiscovererIdT>(value)); return *this;}
58
60
64 inline bool GetCrossAccount() const { return m_crossAccount; }
65 inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; }
66 inline void SetCrossAccount(bool value) { m_crossAccountHasBeenSet = true; m_crossAccount = value; }
67 inline UpdateDiscovererRequest& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;}
69 private:
70
71 Aws::String m_description;
72 bool m_descriptionHasBeenSet = false;
73
74 Aws::String m_discovererId;
75 bool m_discovererIdHasBeenSet = false;
76
77 bool m_crossAccount{false};
78 bool m_crossAccountHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Schemas
83} // 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