AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportTaskRequest.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace ApplicationDiscoveryService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPLICATIONDISCOVERYSERVICE_API StartImportTaskRequest();
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 "StartImportTask"; }
32
33 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
47 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
48 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
49 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
50 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
51 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
53 inline StartImportTaskRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
54 inline StartImportTaskRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
56
58
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline StartImportTaskRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline StartImportTaskRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline StartImportTaskRequest& WithName(const char* value) { SetName(value); return *this;}
73
75
80 inline const Aws::String& GetImportUrl() const{ return m_importUrl; }
81 inline bool ImportUrlHasBeenSet() const { return m_importUrlHasBeenSet; }
82 inline void SetImportUrl(const Aws::String& value) { m_importUrlHasBeenSet = true; m_importUrl = value; }
83 inline void SetImportUrl(Aws::String&& value) { m_importUrlHasBeenSet = true; m_importUrl = std::move(value); }
84 inline void SetImportUrl(const char* value) { m_importUrlHasBeenSet = true; m_importUrl.assign(value); }
85 inline StartImportTaskRequest& WithImportUrl(const Aws::String& value) { SetImportUrl(value); return *this;}
86 inline StartImportTaskRequest& WithImportUrl(Aws::String&& value) { SetImportUrl(std::move(value)); return *this;}
87 inline StartImportTaskRequest& WithImportUrl(const char* value) { SetImportUrl(value); return *this;}
89 private:
90
91 Aws::String m_clientRequestToken;
92 bool m_clientRequestTokenHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_importUrl;
98 bool m_importUrlHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ApplicationDiscoveryService
103} // namespace Aws
StartImportTaskRequest & WithImportUrl(const Aws::String &value)
StartImportTaskRequest & WithClientRequestToken(Aws::String &&value)
StartImportTaskRequest & WithClientRequestToken(const Aws::String &value)
StartImportTaskRequest & WithName(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartImportTaskRequest & WithImportUrl(Aws::String &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API StartImportTaskRequest()
StartImportTaskRequest & WithClientRequestToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String