AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
53 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
54 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
55 inline SecretsManagerSecretResourceData& WithARN(const Aws::String& value) { SetARN(value); return *this;}
56 inline SecretsManagerSecretResourceData& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
57 inline SecretsManagerSecretResourceData& WithARN(const char* value) { SetARN(value); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetAdditionalStagingLabelsToDownload() const{ return m_additionalStagingLabelsToDownload; }
66 inline bool AdditionalStagingLabelsToDownloadHasBeenSet() const { return m_additionalStagingLabelsToDownloadHasBeenSet; }
67 inline void SetAdditionalStagingLabelsToDownload(const Aws::Vector<Aws::String>& value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload = value; }
68 inline void SetAdditionalStagingLabelsToDownload(Aws::Vector<Aws::String>&& value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload = std::move(value); }
71 inline SecretsManagerSecretResourceData& AddAdditionalStagingLabelsToDownload(const Aws::String& value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload.push_back(value); return *this; }
72 inline SecretsManagerSecretResourceData& AddAdditionalStagingLabelsToDownload(Aws::String&& value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload.push_back(std::move(value)); return *this; }
73 inline SecretsManagerSecretResourceData& AddAdditionalStagingLabelsToDownload(const char* value) { m_additionalStagingLabelsToDownloadHasBeenSet = true; m_additionalStagingLabelsToDownload.push_back(value); return *this; }
75 private:
76
77 Aws::String m_aRN;
78 bool m_aRNHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_additionalStagingLabelsToDownload;
81 bool m_additionalStagingLabelsToDownloadHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Greengrass
86} // namespace Aws
SecretsManagerSecretResourceData & AddAdditionalStagingLabelsToDownload(Aws::String &&value)
void SetAdditionalStagingLabelsToDownload(Aws::Vector< Aws::String > &&value)
AWS_GREENGRASS_API SecretsManagerSecretResourceData(Aws::Utils::Json::JsonView jsonValue)
SecretsManagerSecretResourceData & WithAdditionalStagingLabelsToDownload(const Aws::Vector< Aws::String > &value)
AWS_GREENGRASS_API SecretsManagerSecretResourceData & operator=(Aws::Utils::Json::JsonView jsonValue)
SecretsManagerSecretResourceData & WithARN(const char *value)
SecretsManagerSecretResourceData & WithARN(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAdditionalStagingLabelsToDownload() const
SecretsManagerSecretResourceData & AddAdditionalStagingLabelsToDownload(const Aws::String &value)
SecretsManagerSecretResourceData & WithAdditionalStagingLabelsToDownload(Aws::Vector< Aws::String > &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
SecretsManagerSecretResourceData & AddAdditionalStagingLabelsToDownload(const char *value)
void SetAdditionalStagingLabelsToDownload(const Aws::Vector< Aws::String > &value)
SecretsManagerSecretResourceData & WithARN(const Aws::String &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