AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateSbomWithPackageVersionRequest.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 <aws/iot/model/Sbom.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoT
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "AssociateSbomWithPackageVersion"; }
37
38 AWS_IOT_API Aws::String SerializePayload() const override;
39
40 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetPackageName() const{ return m_packageName; }
48 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
49 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
50 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
51 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
53 inline AssociateSbomWithPackageVersionRequest& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
54 inline AssociateSbomWithPackageVersionRequest& WithPackageName(const char* value) { SetPackageName(value); return *this;}
56
58
61 inline const Aws::String& GetVersionName() const{ return m_versionName; }
62 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
63 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
64 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
65 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
67 inline AssociateSbomWithPackageVersionRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
68 inline AssociateSbomWithPackageVersionRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
70
72
73 inline const Sbom& GetSbom() const{ return m_sbom; }
74 inline bool SbomHasBeenSet() const { return m_sbomHasBeenSet; }
75 inline void SetSbom(const Sbom& value) { m_sbomHasBeenSet = true; m_sbom = value; }
76 inline void SetSbom(Sbom&& value) { m_sbomHasBeenSet = true; m_sbom = std::move(value); }
77 inline AssociateSbomWithPackageVersionRequest& WithSbom(const Sbom& value) { SetSbom(value); return *this;}
78 inline AssociateSbomWithPackageVersionRequest& WithSbom(Sbom&& value) { SetSbom(std::move(value)); return *this;}
80
82
87 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
88 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
89 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
90 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
91 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
93 inline AssociateSbomWithPackageVersionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
94 inline AssociateSbomWithPackageVersionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
96 private:
97
98 Aws::String m_packageName;
99 bool m_packageNameHasBeenSet = false;
100
101 Aws::String m_versionName;
102 bool m_versionNameHasBeenSet = false;
103
104 Sbom m_sbom;
105 bool m_sbomHasBeenSet = false;
106
107 Aws::String m_clientToken;
108 bool m_clientTokenHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoT
113} // namespace Aws
AssociateSbomWithPackageVersionRequest & WithPackageName(const Aws::String &value)
AssociateSbomWithPackageVersionRequest & WithVersionName(Aws::String &&value)
AssociateSbomWithPackageVersionRequest & WithVersionName(const char *value)
AssociateSbomWithPackageVersionRequest & WithClientToken(const char *value)
AssociateSbomWithPackageVersionRequest & WithPackageName(Aws::String &&value)
AssociateSbomWithPackageVersionRequest & WithSbom(Sbom &&value)
AssociateSbomWithPackageVersionRequest & WithClientToken(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
AssociateSbomWithPackageVersionRequest & WithSbom(const Sbom &value)
AssociateSbomWithPackageVersionRequest & WithVersionName(const Aws::String &value)
AssociateSbomWithPackageVersionRequest & WithPackageName(const char *value)
AssociateSbomWithPackageVersionRequest & WithClientToken(Aws::String &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String