AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
42 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
43 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
44 inline UpdateDiscovererRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
45 inline UpdateDiscovererRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
46 inline UpdateDiscovererRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
48
50
53 inline const Aws::String& GetDiscovererId() const{ return m_discovererId; }
54 inline bool DiscovererIdHasBeenSet() const { return m_discovererIdHasBeenSet; }
55 inline void SetDiscovererId(const Aws::String& value) { m_discovererIdHasBeenSet = true; m_discovererId = value; }
56 inline void SetDiscovererId(Aws::String&& value) { m_discovererIdHasBeenSet = true; m_discovererId = std::move(value); }
57 inline void SetDiscovererId(const char* value) { m_discovererIdHasBeenSet = true; m_discovererId.assign(value); }
58 inline UpdateDiscovererRequest& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;}
59 inline UpdateDiscovererRequest& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;}
60 inline UpdateDiscovererRequest& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;}
62
64
68 inline bool GetCrossAccount() const{ return m_crossAccount; }
69 inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; }
70 inline void SetCrossAccount(bool value) { m_crossAccountHasBeenSet = true; m_crossAccount = value; }
71 inline UpdateDiscovererRequest& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;}
73 private:
74
75 Aws::String m_description;
76 bool m_descriptionHasBeenSet = false;
77
78 Aws::String m_discovererId;
79 bool m_discovererIdHasBeenSet = false;
80
81 bool m_crossAccount;
82 bool m_crossAccountHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Schemas
87} // namespace Aws
UpdateDiscovererRequest & WithDiscovererId(Aws::String &&value)
UpdateDiscovererRequest & WithCrossAccount(bool value)
UpdateDiscovererRequest & WithDescription(const char *value)
UpdateDiscovererRequest & WithDescription(Aws::String &&value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
UpdateDiscovererRequest & WithDiscovererId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateDiscovererRequest & WithDescription(const Aws::String &value)
UpdateDiscovererRequest & WithDiscovererId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String