AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsManagedResources.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/migrationhubstrategy/model/AwsManagedTargetDestination.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 MigrationHubStrategyRecommendations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AwsManagedResources();
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AwsManagedResources(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AwsManagedResources& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AwsManagedTargetDestination>& GetTargetDestination() const{ return m_targetDestination; }
47 inline bool TargetDestinationHasBeenSet() const { return m_targetDestinationHasBeenSet; }
48 inline void SetTargetDestination(const Aws::Vector<AwsManagedTargetDestination>& value) { m_targetDestinationHasBeenSet = true; m_targetDestination = value; }
49 inline void SetTargetDestination(Aws::Vector<AwsManagedTargetDestination>&& value) { m_targetDestinationHasBeenSet = true; m_targetDestination = std::move(value); }
52 inline AwsManagedResources& AddTargetDestination(const AwsManagedTargetDestination& value) { m_targetDestinationHasBeenSet = true; m_targetDestination.push_back(value); return *this; }
53 inline AwsManagedResources& AddTargetDestination(AwsManagedTargetDestination&& value) { m_targetDestinationHasBeenSet = true; m_targetDestination.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_targetDestinationHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace MigrationHubStrategyRecommendations
63} // namespace Aws
AwsManagedResources & AddTargetDestination(const AwsManagedTargetDestination &value)
AwsManagedResources & WithTargetDestination(const Aws::Vector< AwsManagedTargetDestination > &value)
void SetTargetDestination(Aws::Vector< AwsManagedTargetDestination > &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AwsManagedResources(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AwsManagedResources()
AwsManagedResources & WithTargetDestination(Aws::Vector< AwsManagedTargetDestination > &&value)
AwsManagedResources & AddTargetDestination(AwsManagedTargetDestination &&value)
void SetTargetDestination(const Aws::Vector< AwsManagedTargetDestination > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AwsManagedTargetDestination > & GetTargetDestination() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AwsManagedResources & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue