AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSolFunctionPackageRequest.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/TnbRequest.h>
9#include <aws/tnb/model/OperationalState.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:
25 AWS_TNB_API UpdateSolFunctionPackageRequest() = default;
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 "UpdateSolFunctionPackage"; }
32
33 AWS_TNB_API Aws::String SerializePayload() const override;
34
35
37
40 inline OperationalState GetOperationalState() const { return m_operationalState; }
41 inline bool OperationalStateHasBeenSet() const { return m_operationalStateHasBeenSet; }
42 inline void SetOperationalState(OperationalState value) { m_operationalStateHasBeenSet = true; m_operationalState = value; }
45
47
50 inline const Aws::String& GetVnfPkgId() const { return m_vnfPkgId; }
51 inline bool VnfPkgIdHasBeenSet() const { return m_vnfPkgIdHasBeenSet; }
52 template<typename VnfPkgIdT = Aws::String>
53 void SetVnfPkgId(VnfPkgIdT&& value) { m_vnfPkgIdHasBeenSet = true; m_vnfPkgId = std::forward<VnfPkgIdT>(value); }
54 template<typename VnfPkgIdT = Aws::String>
55 UpdateSolFunctionPackageRequest& WithVnfPkgId(VnfPkgIdT&& value) { SetVnfPkgId(std::forward<VnfPkgIdT>(value)); return *this;}
57 private:
58
60 bool m_operationalStateHasBeenSet = false;
61
62 Aws::String m_vnfPkgId;
63 bool m_vnfPkgIdHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace tnb
68} // namespace Aws
UpdateSolFunctionPackageRequest & WithVnfPkgId(VnfPkgIdT &&value)
AWS_TNB_API Aws::String SerializePayload() const override
UpdateSolFunctionPackageRequest & WithOperationalState(OperationalState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String