AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVolumeOntapResponse.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/model/Tag.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FSx
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
45 inline const Aws::String& GetFinalBackupId() const{ return m_finalBackupId; }
46 inline bool FinalBackupIdHasBeenSet() const { return m_finalBackupIdHasBeenSet; }
47 inline void SetFinalBackupId(const Aws::String& value) { m_finalBackupIdHasBeenSet = true; m_finalBackupId = value; }
48 inline void SetFinalBackupId(Aws::String&& value) { m_finalBackupIdHasBeenSet = true; m_finalBackupId = std::move(value); }
49 inline void SetFinalBackupId(const char* value) { m_finalBackupIdHasBeenSet = true; m_finalBackupId.assign(value); }
50 inline DeleteVolumeOntapResponse& WithFinalBackupId(const Aws::String& value) { SetFinalBackupId(value); return *this;}
51 inline DeleteVolumeOntapResponse& WithFinalBackupId(Aws::String&& value) { SetFinalBackupId(std::move(value)); return *this;}
52 inline DeleteVolumeOntapResponse& WithFinalBackupId(const char* value) { SetFinalBackupId(value); return *this;}
54
56
57 inline const Aws::Vector<Tag>& GetFinalBackupTags() const{ return m_finalBackupTags; }
58 inline bool FinalBackupTagsHasBeenSet() const { return m_finalBackupTagsHasBeenSet; }
59 inline void SetFinalBackupTags(const Aws::Vector<Tag>& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = value; }
60 inline void SetFinalBackupTags(Aws::Vector<Tag>&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags = std::move(value); }
62 inline DeleteVolumeOntapResponse& WithFinalBackupTags(Aws::Vector<Tag>&& value) { SetFinalBackupTags(std::move(value)); return *this;}
63 inline DeleteVolumeOntapResponse& AddFinalBackupTags(const Tag& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.push_back(value); return *this; }
64 inline DeleteVolumeOntapResponse& AddFinalBackupTags(Tag&& value) { m_finalBackupTagsHasBeenSet = true; m_finalBackupTags.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::String m_finalBackupId;
69 bool m_finalBackupIdHasBeenSet = false;
70
71 Aws::Vector<Tag> m_finalBackupTags;
72 bool m_finalBackupTagsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FSx
77} // namespace Aws
DeleteVolumeOntapResponse & AddFinalBackupTags(Tag &&value)
DeleteVolumeOntapResponse & WithFinalBackupId(const Aws::String &value)
AWS_FSX_API DeleteVolumeOntapResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteVolumeOntapResponse & WithFinalBackupTags(const Aws::Vector< Tag > &value)
DeleteVolumeOntapResponse & AddFinalBackupTags(const Tag &value)
DeleteVolumeOntapResponse & WithFinalBackupId(const char *value)
const Aws::Vector< Tag > & GetFinalBackupTags() const
DeleteVolumeOntapResponse & WithFinalBackupId(Aws::String &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFinalBackupTags(const Aws::Vector< Tag > &value)
DeleteVolumeOntapResponse & WithFinalBackupTags(Aws::Vector< Tag > &&value)
AWS_FSX_API DeleteVolumeOntapResponse(Aws::Utils::Json::JsonView jsonValue)
void SetFinalBackupTags(Aws::Vector< Tag > &&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