AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSolFunctionPackageContentRequest.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/TnbRequest.h>
9#include <aws/tnb/model/PackageContentType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace tnb
16{
17namespace Model
18{
19
23 {
24 public:
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 "GetSolFunctionPackageContent"; }
32
33 AWS_TNB_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const PackageContentType& GetAccept() const{ return m_accept; }
44 inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
45 inline void SetAccept(const PackageContentType& value) { m_acceptHasBeenSet = true; m_accept = value; }
46 inline void SetAccept(PackageContentType&& value) { m_acceptHasBeenSet = true; m_accept = std::move(value); }
47 inline GetSolFunctionPackageContentRequest& WithAccept(const PackageContentType& value) { SetAccept(value); return *this;}
48 inline GetSolFunctionPackageContentRequest& WithAccept(PackageContentType&& value) { SetAccept(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetVnfPkgId() const{ return m_vnfPkgId; }
56 inline bool VnfPkgIdHasBeenSet() const { return m_vnfPkgIdHasBeenSet; }
57 inline void SetVnfPkgId(const Aws::String& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = value; }
58 inline void SetVnfPkgId(Aws::String&& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = std::move(value); }
59 inline void SetVnfPkgId(const char* value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId.assign(value); }
60 inline GetSolFunctionPackageContentRequest& WithVnfPkgId(const Aws::String& value) { SetVnfPkgId(value); return *this;}
61 inline GetSolFunctionPackageContentRequest& WithVnfPkgId(Aws::String&& value) { SetVnfPkgId(std::move(value)); return *this;}
62 inline GetSolFunctionPackageContentRequest& WithVnfPkgId(const char* value) { SetVnfPkgId(value); return *this;}
64 private:
65
66 PackageContentType m_accept;
67 bool m_acceptHasBeenSet = false;
68
69 Aws::String m_vnfPkgId;
70 bool m_vnfPkgIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace tnb
75} // namespace Aws
GetSolFunctionPackageContentRequest & WithAccept(PackageContentType &&value)
GetSolFunctionPackageContentRequest & WithVnfPkgId(const Aws::String &value)
GetSolFunctionPackageContentRequest & WithVnfPkgId(const char *value)
GetSolFunctionPackageContentRequest & WithVnfPkgId(Aws::String &&value)
AWS_TNB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSolFunctionPackageContentRequest & WithAccept(const PackageContentType &value)
AWS_TNB_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String