AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePackageRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace IoT
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOT_API DeletePackageRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeletePackage"; }
36
37 AWS_IOT_API Aws::String SerializePayload() const override;
38
39 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetPackageName() const{ return m_packageName; }
47 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
48 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
49 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
50 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
51 inline DeletePackageRequest& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
52 inline DeletePackageRequest& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
53 inline DeletePackageRequest& WithPackageName(const char* value) { SetPackageName(value); return *this;}
55
57
62 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
65 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
66 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
67 inline DeletePackageRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
68 inline DeletePackageRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
69 inline DeletePackageRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
71 private:
72
73 Aws::String m_packageName;
74 bool m_packageNameHasBeenSet = false;
75
76 Aws::String m_clientToken;
77 bool m_clientTokenHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoT
82} // namespace Aws
const Aws::String & GetPackageName() const
DeletePackageRequest & WithPackageName(const char *value)
DeletePackageRequest & WithPackageName(Aws::String &&value)
void SetClientToken(const Aws::String &value)
DeletePackageRequest & WithClientToken(Aws::String &&value)
DeletePackageRequest & WithPackageName(const Aws::String &value)
DeletePackageRequest & WithClientToken(const Aws::String &value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
DeletePackageRequest & WithClientToken(const char *value)
void SetPackageName(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String