AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SecretsManagerSecretResourceData.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_GREENGRASS_API SecretsManagerSecretResourceData() = default;
41 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetARN() const { return m_aRN; }
51 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
52 template<typename ARNT = Aws::String>
53 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
54 template<typename ARNT = Aws::String>
55 SecretsManagerSecretResourceData& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetAdditionalStagingLabelsToDownload() const { return m_additionalStagingLabelsToDownload; }
64 inline bool AdditionalStagingLabelsToDownloadHasBeenSet() const { return m_additionalStagingLabelsToDownloadHasBeenSet; }
65 template<typename AdditionalStagingLabelsToDownloadT = Aws::Vector<Aws::String>>
66 void SetAdditionalStagingLabelsToDownload(AdditionalStagingLabelsToDownloadT&& value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload = std::forward<AdditionalStagingLabelsToDownloadT>(value); }
67 template<typename AdditionalStagingLabelsToDownloadT = Aws::Vector<Aws::String>>
68 SecretsManagerSecretResourceData& WithAdditionalStagingLabelsToDownload(AdditionalStagingLabelsToDownloadT&& value) { SetAdditionalStagingLabelsToDownload(std::forward<AdditionalStagingLabelsToDownloadT>(value)); return *this;}
69 template<typename AdditionalStagingLabelsToDownloadT = Aws::String>
70 SecretsManagerSecretResourceData& AddAdditionalStagingLabelsToDownload(AdditionalStagingLabelsToDownloadT&& value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload.emplace_back(std::forward<AdditionalStagingLabelsToDownloadT>(value)); return *this; }
72 private:
73
74 Aws::String m_aRN;
75 bool m_aRNHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_additionalStagingLabelsToDownload;
78 bool m_additionalStagingLabelsToDownloadHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Greengrass
83} // namespace Aws
AWS_GREENGRASS_API SecretsManagerSecretResourceData(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API SecretsManagerSecretResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API SecretsManagerSecretResourceData()=default
const Aws::Vector< Aws::String > & GetAdditionalStagingLabelsToDownload() const
void SetAdditionalStagingLabelsToDownload(AdditionalStagingLabelsToDownloadT &&value)
SecretsManagerSecretResourceData & AddAdditionalStagingLabelsToDownload(AdditionalStagingLabelsToDownloadT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
SecretsManagerSecretResourceData & WithAdditionalStagingLabelsToDownload(AdditionalStagingLabelsToDownloadT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue