AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateSolFunctionPackageRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/tnb/TnbRequest.h>
9#include <aws/tnb/Tnb_EXPORTS.h>
10#include <aws/tnb/model/OperationalState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace tnb {
16namespace Model {
17
21 public:
22 AWS_TNB_API UpdateSolFunctionPackageRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSolFunctionPackage"; }
29
30 AWS_TNB_API Aws::String SerializePayload() const override;
31
33
36 inline OperationalState GetOperationalState() const { return m_operationalState; }
37 inline bool OperationalStateHasBeenSet() const { return m_operationalStateHasBeenSet; }
39 m_operationalStateHasBeenSet = true;
40 m_operationalState = value;
41 }
44 return *this;
45 }
47
49
52 inline const Aws::String& GetVnfPkgId() const { return m_vnfPkgId; }
53 inline bool VnfPkgIdHasBeenSet() const { return m_vnfPkgIdHasBeenSet; }
54 template <typename VnfPkgIdT = Aws::String>
55 void SetVnfPkgId(VnfPkgIdT&& value) {
56 m_vnfPkgIdHasBeenSet = true;
57 m_vnfPkgId = std::forward<VnfPkgIdT>(value);
58 }
59 template <typename VnfPkgIdT = Aws::String>
61 SetVnfPkgId(std::forward<VnfPkgIdT>(value));
62 return *this;
63 }
65 private:
67
68 Aws::String m_vnfPkgId;
69 bool m_operationalStateHasBeenSet = false;
70 bool m_vnfPkgIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace tnb
75} // 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