/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MediaLive { namespace Model { /** * Details from a successful operation

See Also:

AWS * API Reference

*/ class BatchSuccessfulResultModel { public: AWS_MEDIALIVE_API BatchSuccessfulResultModel(); AWS_MEDIALIVE_API BatchSuccessfulResultModel(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API BatchSuccessfulResultModel& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * ARN of the resource */ inline const Aws::String& GetArn() const{ return m_arn; } /** * ARN of the resource */ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** * ARN of the resource */ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** * ARN of the resource */ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** * ARN of the resource */ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** * ARN of the resource */ inline BatchSuccessfulResultModel& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** * ARN of the resource */ inline BatchSuccessfulResultModel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** * ARN of the resource */ inline BatchSuccessfulResultModel& WithArn(const char* value) { SetArn(value); return *this;} /** * ID of the resource */ inline const Aws::String& GetId() const{ return m_id; } /** * ID of the resource */ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** * ID of the resource */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** * ID of the resource */ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** * ID of the resource */ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** * ID of the resource */ inline BatchSuccessfulResultModel& WithId(const Aws::String& value) { SetId(value); return *this;} /** * ID of the resource */ inline BatchSuccessfulResultModel& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** * ID of the resource */ inline BatchSuccessfulResultModel& WithId(const char* value) { SetId(value); return *this;} /** * Current state of the resource */ inline const Aws::String& GetState() const{ return m_state; } /** * Current state of the resource */ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** * Current state of the resource */ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** * Current state of the resource */ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** * Current state of the resource */ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** * Current state of the resource */ inline BatchSuccessfulResultModel& WithState(const Aws::String& value) { SetState(value); return *this;} /** * Current state of the resource */ inline BatchSuccessfulResultModel& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** * Current state of the resource */ inline BatchSuccessfulResultModel& WithState(const char* value) { SetState(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws